Hi,
-- I am pretty new to xforms and Orbeon. I’m running a separate deployment where I have my own Java webapp and use the Orbeon XForms engine. Therefore, my XForms is wrapped in a JSP. I have 2 dropdowns implemented using below format - <form-runner:databound-select1 ref="Tenant" appearance="minimal" resource="http://localhost:8080/ExecuteSQLRest/rest/service1/"> <xf:label>Tenant</xf:label> <xf:itemset nodeset="/Rows/Row"> <xf:label ref="@label" /> <xf:value ref="@value" /> </xf:itemset> </form-runner:databound-select1> xf implies xforms Now, the use case requires that I call service 1 and get values for dropdown 1 and when user selects a value in dropdown 1 webservice 2 needs to be invoked passing value of dropdown 1 and fetch values for dropdown 2. Or in other words when onchage/event="xxforms-value-changed" we should call rest service 2 and populate values in dropdown 2. Please help me with a pointer to any pre-existing example or any idea on how this can be implemented the above scenario. Thanks. - Avishek 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]. |
please refer to the link below and check whether it helps in some or other way to solve your Usecase
http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/databound-select1 Regards, Arjun |
That worked!
-- I missed the databound- Thanks Naga! On Thursday, 3 July 2014 16:08:52 UTC+5:30, nagarjuna balaji wrote: please refer to the link below and check whether it helps in some or other 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]. |
Free forum by Nabble | Edit this page |