Pass information to a form in the URL

5 messages Options
Embed this post
Permalink
eforms4

Pass information to a form in the URL

Reply Threaded More More options
Print post
Permalink
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
Marco Lebel-2

Re: Pass information to a form in the URL

Reply Threaded More More options
Print post
Permalink
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
Raitis

Re: Pass information to a form in the URL

Reply Threaded More More options
Print post
Permalink
In reply to this post by eforms4
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
Erik Bruchez

Re: Pass information to a form in the URL

Reply Threaded More More options
Print post
Permalink
In reply to this post by eforms4
 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
eforms4

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

Reply Threaded More More options
Print post
Permalink
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