Re: [Xsltforms-support] how can I get the query string parameters in xforms
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2009-07-29 15:18:36
|
Hi Mathias, > 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?? > The XForms 1.1 proposed recommendation says : "The |resource| element allows the URI used for a submission to be dynamically calculated based on instance data." This is implemented in XSLTForms and verified according to Test 11.6.1.a of the W3C Test Suite. Regards, -Alain |