Using data in the MODEL for options in select1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using data in the MODEL for options in select1

bernardp
I have my model as

<xforms:selection-rows>
     <xforms:row1_id>           1           </xforms:row1-id>
    <xforms:row1-name>       First Row         </xforms:row1-name>
     <xforms:row2_id>        2         </xforms:row2-id>
    <xforms:row2-name>         Second Row          </xforms:row2-name>
     <xforms:row3_id>              3             </xforms:row3-id>
    <xforms:row3-name>        Third Row            </xforms:row3-name>
     <xforms:row4_id>               4              </xforms:row4-id>
    <xforms:row4-name>               Fourth Row             </xforms:row4-name>
</xforms:selection-rows>

I want to display then using select1

This is what I tried to think in the forms select1 control, Not sure
where I am making a mistake.

                                                        <xforms:select1 ref="selection-rows" id="selections">
                                                                <xforms:item>
                                                                        <xforms:label>All</xforms:label>
                                                                        <xforms:value>%</xforms:value>
                                                                </xforms:item>
                                                                <xforms:itemset nodeset="selection-rows">
                                                                        <xforms:label ref="row1-name"/>
                                                                        <xforms:value ref="row1-id" />
                                                                </xforms:itemset>
                                                        </xforms:select1>


I am really just starting to learn x-forms.
Please anyone.. can u help?







--
Bernard P Mramba
P.O.Box 62399
Dar es Salaam
Tanzania
+255 712 473712


--
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