Not sure if the title is the best name for what I want, but..
What I'd like is to be able to send down data and client ids to the server in the form of a HTTP GET or POST.
In return, I'd like a JSON string in this form:
{
"clientId": "urlEncodedHTML"
}
The reason for urlEncoded is that you avoid the problem with line breaks and such. It should probably be in the UTF-16 charset so that it works for everybody.
Optimally, there would be an inbuilt callback in the XSP library that tries to decodes/inject the returned HTML. If an item is returned that isn't available in the browser, ignore, or console.error if available.
What would be even nicer is if this was added to Domino in the future, so that one could refresh multiple controls without having to go several times to the server.
Throw in a focus detection routine ( something a little more robust than this ), and you could have unobtrusive partial refreshes.