Hi,
Lets imagine that I have two grids in orbeon form builder : grid 1 : data dropdown with two labels : feminine names and masculine names. grid 2 : autocomplete that takes names from the web service as a value. I have also two web services service 1 : returns masculine names service 2 : returns feminine names Can I bind grid 1 to grid 2 in form builder in the way that will allow autocomplete to return values from service 1 and service 2 depending on what value is chosen in data dropdown ? |
I've tried to put
http://localhost:8080/project/service?gender={encode-for-uri($datadropdownvalue)}&query={encode-for-uri($fr-search-value)} as the Resource URI in the Form Builder. Can someone explain me why such method does not work ? |
Administrator
|
Hi, I image you're using the auto-complete control? In that case you can indeed use {encode-for-uri($fr-search-value)}, but not $datadropdownvalue. What did you expect the latter to return, and what is the use case for this? Alex On Nov 18, 2013 10:46 PM, "murkowicz" <[hidden email]> wrote:
-- I've tried to put 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 |
Administrator
|
In reply to this post by murkowicz
OK, I see: so you'd like to refer to the value of another control, and pass it to the service. Unfortunately, you cannot refer to the value of another control with $mycontrol in a resource URL. Instead, if the other control is in the same section write ../mycontrol, and if in a different section ../../mysection/mycontrol (where mysection is the name of that other section). You'll let us know if this works for you. Alex On Nov 18, 2013 10:46 PM, "murkowicz" <[hidden email]> wrote:
-- Hi, 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 |
Free forum by Nabble | Edit this page |