How to populate the dynamic data dropdown (zip-states) example

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

How to populate the dynamic data dropdown (zip-states) example

firy
Hi,

I'm new to Orbeon and I'm trying to get the example in dynamic data dropdown
to work.

This is how I try to write the URI in the resource tag of the element. Is it
the correct path. I use tomcat and have orbeon installed in the webapps
folder. Do I need to do something more?

<http://discuss.orbeon.com/file/t375723/Capture.png>

--
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 populate the dynamic data dropdown (zip-states) example

Alessandro  Vernet
Administrator
Hi Filip,

That service is indeed implemented in
`apps/xforms-sandbox/services/zip-states.xpl`, but the URL to use is
different. It will depend on what is defined in the
`apps/xforms-sandbox/page-flow.xml`, and in this case you should use:

    /xforms-sandbox/service/zip-states

You'll let me know if this works for you.

‑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 populate the dynamic data dropdown (zip-states) example

firy
Ok, I have changed that but what shall I enter in the Xpath label and Xpath
value fields? Let's assume I want the city field value.

--
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 populate the dynamic data dropdown (zip-states) example

Alessandro  Vernet
Administrator
Hi Filip,

You can use:

Choices: /states/state
Label: @name
Value: @abbreviation

You'll let me know if this makes sense.

‑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 populate the dynamic data dropdown (zip-states) example

firy
Fantastic, it works. Thanks

--
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 populate the dynamic data dropdown (zip-states) example

Alessandro  Vernet
Administrator
Excellent Filip, I am glad that the Dynamic Data Dropdown works with those
XPath expressions, and thank you for  the update. ‑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