[Xsltforms-support] how can I get the query string parameters in xforms
Brought to you by:
alain-couthures
From: Mathias P. <Mat...@gm...> - 2009-07-29 15:05:47
|
I want to dynamically load my instance data, using something like http://example.com/xforms/EditorTypeA?instance=id401 I searched, but there does not seem to be an xforms way to do this, so what would be a portable javascript way be? Putting the parameter value in something like a currentDocument instance on load and then use a replacing submission using that instance value on xforms-ready?? If that's the way, this could probably be generalized to generate a simple xml instance from any query string (<querystring><paramX>valueX</paramX></querystring>), does something like that exist? Thx for any help, Mathias |