extracting parameters from URL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

extracting parameters from URL

Hi again,
As part of my continuing evaluation, I have been trying to extract url parameters within the PFC and setting the instance xml. To do this I have
just copied the xforms-controls example and have changed the PFC to:

<page path-info="/xforms" view="view.xml" default-submission="sub.xml">
    <setvalue ref="/instance/age" parameter="age"/>

I have created a default submission:

I then access this using a url: http://localhost:9080/orbeon/xforms?age=6

The parameter does not seem to be propogated to the form. Am I missreading the doco?


[hidden email] <mailto:[hidden email]>.
Franco Pace
Senior Software Engineer
Thomson Legal & Regulatory Limited (ABN 64 058 914 668)
PH: 61 2 92394963 FAX: none
EMAIL: [hidden email]
WEB: www.lawpoint.com.au www.thomson.com.au

You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws