I have a common HTML non-xpages form(part of non-xpages application) and I need to submit entered values to xpage and process it. How can I access these html form fields from xpage? In common I access html fields by its xpages componentId, but there is no such in this case.
Also from javascript I need to send JSON data to xpage using http://api.jquery.com/jQuery.post/, how can I access the submitted data? I tried to read some xPages API available here http://public.dhe.ibm.com/software/dw/lotus/Domino-Designer/JavaDocs/XPagesExtAPI/8.5.2/index.html (specifically here http://public.dhe.ibm.com/software/dw/lotus/Domino-Designer/JavaDocs/XPagesExtAPI/8.5.2/com/ibm/xsp/context/ExternalContextEx.html ) but it doesnt contain any comments and some mathods have very strange/common siganture like "java.lang.Object getRequest()" ... what is the request here( is it HttpServletRequest ???), where I can find some explanation?
Values posted to XPages can be read using param.get(). I have written a blog post about a HTTP request consumer in XPages that you can use as inspiration.