cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <>
Subject cforms + binding to array
Date Fri, 19 Nov 2004 23:33:34 GMT

I have a bean which has Collection items;

and then I have a String[] values = new String[3]; and then I have 

but how in CForms can I bind to different index of the String-array?

   <fb:repeater id="items" parent-path="." row-path="items">
       <fb:value id="id" path="[0]"/>

       <fb:value id="id" path="[0]"/>
       <fb:value id="name" path="[1]"/>
       <fb:value id="value" path="[2]"/>

Would that work? most likely not.. how could it be made to work or is 
it impossoble to bind to a index of an array?



"Always remember that you are unique, just like everyone else!"
* * * +358 44 561 0270 *

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message