Even you ar settign all the values properly and getting the display accurately. I do not think the changes you made to the Collection( in terms of textboxes or checkboxes or Selections) will not reflect on the arrayList. Atleast I failed in doing so. There are other ways liek using multiboxes, indexing the properties etc.
i hope that was useful. I could give you examples but I am not sure if I am addressing the problem right. regards, Uday Karrothi On 11/10/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
Try using <bean:write name="collection2[indexId]" />. indexId should be replaced with 0, 1, 2, ... as it iterates and the underlying BeanUtils will extract the n-th element from the collection. I don't think this will if you are using an unsorted collection (set, map) because they don't support get(int) On 11/10/06, Van Nguyen <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I have two ArrayList that I need to iterate through: > > > > <logic:iterate id="line" indexId="indexId" name="collection1"> > > <bean:write name="line" /> > > // write info contained in collection2 > > // something like this… but not working?? > > <bean:write name="collection2[indexed]" /> > > </logic> > > > > collection1 and collection2 will always have the same number of records… > > > > Any ideas? > > > United Rentals > Consider it done.™ > 800-UR-RENTS > unitedrentals.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]