How to pass a form field value to HTTP Get Service

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

How to pass a form field value to HTTP Get Service

ajju
This post has NOT been accepted by the mailing list yet.
Dear Admin,
I have created a HTTP Service [GET] pointing to a resource "http://mydomain.com/users/orbeon/search?contains={$username}".
The "username" is name of a field in the form created.
I have created an action and mapped this HTTP Service with that action, but I am not getting the "username"  in the server end.
Please help me.
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a form field value to HTTP Get Service

Alessandro  Vernet
Administrator
Hi Ajju,

Let's try to figure this out: could you share with us screenshots of your
"HTTP Service Editor" dialog and "Actions Editor", so I can see what your
service and action looks like?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a form field value to HTTP Get Service

ajju
Hi Admin,
I have resolved this issue. Thanks :)

I have created HTTP service with GET as method and configured URL param as
"contains" and left the default value as empty.
I have created a action and captured the onchange event of the select box A,
in the service request i mapped /contains with select box A value.
In the response mapping i mapped response value with the text box.

Thanks again :)

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: How to pass a form field value to HTTP Get Service

Alessandro  Vernet
Administrator
Excellent Ajju; I'm glad you solved this, and thank you for the update.

Alex

On Thu, Aug 31, 2017 at 7:24 PM ajju <[hidden email]> wrote:
Hi Admin,
I have resolved this issue. Thanks :)

I have created HTTP service with GET as method and configured URL param as
"contains" and left the default value as empty.
I have created a action and captured the onchange event of the select box A,
in the service request i mapped /contains with select box A value.
In the response mapping i mapped response value with the text box.

Thanks again :)

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet