> -----Original Message----- > From: Jason Johnston [mailto:[EMAIL PROTECTED] > Sent: 06 April 2006 14:00 > To: users@cocoon.apache.org > Subject: Re: CForms: Updating all instances of a widget in a repeater > > I think to get the rows from a Repeater you have to use > getRow() rather > than getChildren(). I think I've used something like this in the past: > > var repeater = ... > for(var i=0; i<repeater.getSize(); i++) { > var row = repeater.getRow(i); > ... > } > > Hope that works > > Actually the Javadoc for Repeater doesn't even look like it has a > getChildren() method, so I'm not sure why you weren't getting > an error.
You are quite right; it isn't part of the class. I'll double check the code is actually being called :D. Thanks for pointing me to the correct documentation. For some reason I was looking at the container class. Thanks again, Gary ***************************************************************** The information contained in this message may be confidential or legally privileged and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. ***************************************************************** If you work for NHS Lothian and wish to have help to stop smoking, support is available by contacting [EMAIL PROTECTED] or 0131 537 9494 - internal 49494. For anyone else living/working in Lothian, please contact 0800 848484 for your nearest NHS stop smoking service. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]