Hi,

I downloaded latest version 2.6 and faced following problem -

If I use <xforms:itemset> the way Orbeon example says, it works fine. The "ref" attribute of <xforms:label> and <xforms:copy> within <xforms:itemset> refer to an attribute. But if I've to refer to a node to get the code and description of dropdown items, then it doesn't work. I tried the following way -

<xforms:select1 ref="/Root/Addr/CountyCd">
        <xforms:itemset nodeset="/Root/county">
                <xforms:label ref="label"/>
                <xforms:copy ref="value"/>
        </xforms:itemset>
</xforms:select1>

and the business message is -

<Root>
        <county>
                <label>A</label>
                <value>a</value>
        </county>
        <county>
                <label>B</label>
                <value>b</value>
        </county>
        <Addr>
                <CountyCd/>
        <Addr>
</Root>

Please tell if it is a bug or I'm doing it a wrong way.

Thanks and Regards,
Rahul Agarwal

----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
----------------------------------------------------------------------------------------

Reply via email to