Pass information to a form in the URL

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Pass information to a form in the URL

xweg
Hello

I'd like send data via the URL to a form and with that information then
call a webservice.

Example:
I'd like to call the form like this:
http://IP/orbeon/fr/APPLICATION/FORM/new?key=1234

How do I get the key-value and then use it as a property to call a
webservice.


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Pass information to a form in the URL

Marco Lebel-2
Florian,

The first part of your answer is in the Page Flow Controller
documentation(section 3.6).

Marco

Florian Stoller wrote:

> Hello
>
> I'd like send data via the URL to a form and with that information
> then call a webservice.
>
> Example:
> I'd like to call the form like this:
> http://IP/orbeon/fr/APPLICATION/FORM/new?key=1234
>
> How do I get the key-value and then use it as a property to call a
> webservice.


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Pass information to a form in the URL

Raitis
In reply to this post by xweg
Maybe that will be useful - http://www.orbeon.com/ops/doc/reference-page-flow#url-extraction

On Thu, Jul 2, 2009 at 6:22 PM, Florian Stoller <[hidden email]> wrote:
Hello

I'd like send data via the URL to a form and with that information then call a webservice.

Example:
I'd like to call the form like this:
http://IP/orbeon/fr/APPLICATION/FORM/new?key=1234

How do I get the key-value and then use it as a property to call a webservice.


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws




--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Pass information to a form in the URL

Erik Bruchez
Administrator
In reply to this post by xweg
 From XForms, try the xxforms:get-request-parameter() XPath function.

http://www.orbeon.com/ops/doc/reference-xforms-functions

-Erik

On Jul 2, 2009, at 8:22 AM, Florian Stoller wrote:

> Hello
>
> I'd like send data via the URL to a form and with that information  
> then call a webservice.
>
> Example:
> I'd like to call the form like this:
> http://IP/orbeon/fr/APPLICATION/FORM/new?key=1234
>
> How do I get the key-value and then use it as a property to call a  
> webservice.
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Pass information to a form in the URL

xweg
great, thank you! It worked with xxforms:get-request-parameter()

Florian

Erik Bruchez wrote:

> From XForms, try the xxforms:get-request-parameter() XPath function.
>
> http://www.orbeon.com/ops/doc/reference-xforms-functions
>
> -Erik
>
> On Jul 2, 2009, at 8:22 AM, Florian Stoller wrote:
>
>> Hello
>>
>> I'd like send data via the URL to a form and with that information
>> then call a webservice.
>>
>> Example:
>> I'd like to call the form like this:
>> http://IP/orbeon/fr/APPLICATION/FORM/new?key=1234
>>
>> How do I get the key-value and then use it as a property to call a
>> webservice.
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws