filling xforms:select dynamic

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

filling xforms:select dynamic

oliver.lienhard
Hello

How do i can fill a xforms:select1 with data from the same form,
entered previously in a xforms:repeate? My test build on the
form example.

THX for your Hard and very good Work.

Oliver



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: filling xforms:select dynamic

Ryan Puddephatt
Oliver,
        Your question isn't very clear! Do you have data in an instance
which you want to use in a select1? Or is the data elsewhere?

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: [hidden email] [mailto:[hidden email]]
>Sent: 20 February 2006 13:05
>To: [hidden email]
>Subject: [ops-users] filling xforms:select dynamic
>
>Hello
>
>How do i can fill a xforms:select1 with data from the same form,
>entered previously in a xforms:repeate? My test build on the
>form example.
>
>THX for your Hard and very good Work.
>
>Oliver




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: filling xforms:select dynamic

Erik Bruchez
Administrator
In reply to this post by oliver.lienhard
[hidden email] wrote:

> How do i can fill a xforms:select1 with data from the same form,
> entered previously in a xforms:repeate? My test build on the
> form example.

Use xforms:itemset within xforms:select1. The XForms Controls example
makes use of this. Just point your xforms:label and xforms:value to the
appropriate places. Example:

<xforms:itemset nodeset="instance('my-instance')/my-entries/entry">
     <xforms:label ref="label"/>
     <xforms:value ref="@value"/>
</xforms:itemset>

> THX for your Hard and very good Work.

Thanks,

-Erik




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws