Hi there,
I'm using two Dynamic Data Dropdown selection controls in form builder(orbeon-4.0.0.M11.201210030639-PE) to create a new form. Both of the two controls get the content from a same http service, one using "Resource URL" as pic1 shows:
and for the other dropdown control to show the content, I added an HTTP service pointing to the same Resource URL as pic2 shows, and an Action as pic3 shows (action Condition: Run on creation only, React to: Form Load):
But the result for the two controls are different:
selection control using "Resource URL" can show the content from the XML returned by the http service, while the other selection control using action can't show the content.
test.xml is just this:
<items>
<item>
<label>Cat</label>
<value>cat</value>
</item>
<item>
<label>Dog</label>
<value>dog</value>
</item>
<item>
<label>Bird</label>
<value>bird</value>
</item>
</items>
I also attach the form source. Any pointers or help would be really appreciated.
Thanks in advance,
Shineway
t2.xhtmltest.xml