cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <>
Subject Re: [CForms] Getting the label of a selection list in binding..
Date Fri, 13 May 2005 09:07:10 GMT

Here is a simple binding, but I don't know how to get the value="1" in 
your example.

 <fb:context path="foo">
      <fb:value id="item" path="item"/>

Hope this help.


Nacho Jimenez wrote:

>Let's see if someone can help me with this. I've a selection list
>populated via a pipeline. The result of the pipeline is something
>  <fd:item value="1">Fist Item</fd:item>
>  <fd:item value="2">Second Item</fd:item>
>   .....
>I'm binding the result of the form to a XML document, and I'd like to
>get the following structure:
>   <item id="1">First Item</item>
>But I don't know how to get the "First Item" text in the binding
>definition. Is there a way to do it, or do I have to create a hidden
>placeholder and copy the info by javascript?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : Fax :

View raw message