Hi guys,
I get very weird behaviour with a very basic xforms:select, like this one:
<xforms:select appearance="full" ref="choice">
<xforms:label>Choice</xforms:label> <xforms:item>
<xforms:label>Option 1</xforms:label> <xforms:value>option1</xforms:value>
</xforms:item> <xforms:item>
<xforms:label>Option 2</xforms:label> <xforms:value>option2</xforms:value>
</xforms:item> <xforms:item>
<xforms:label>Option 3</xforms:label> <xforms:value>option3</xforms:value>
</xforms:item> <xforms:item>
<xforms:label>Option 4</xforms:label> <xforms:value>option4</xforms:value>
</xforms:item></xforms:select>Now if I check off all options, the values in the main instance are:
<choice>option2 option3 option1 option4</choice>
My testing shows that this ordering is completely predictable, no matter in what order I check off options or the number of options that are selected. Obviously I want to output the values in the same order in which there are shown while editing, but this cannot be done easily with this weird ordering. Is there a bug that misplaces the value for the first xforms:item?
Regards,
Wouter Zelle
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws