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

franco.pace
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"/>
</page>

I have created a default submission:
<instance>
                    <age/>
                    <secret/>
                    <textarea/>
                    <label/>
                    <date/>
                    <flavor/>
                    <carrier/>
                    <new-item>
                        <label/>
                        <value/>
                    </new-item>
                    <range>
                        <value/>
                        <letter/>
                    </range>
                    <country/>
</instance>

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?

Regards,
Franco

[hidden email] <mailto:[hidden email]>.
Franco Pace
Senior Software Engineer
Lawpoint
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