pass repeater from database to the form

2008-08-01 Thread Мария Григорьева
I'm trying to pass the parameters from the database to the repeater in the form. var repeater=form.getChild(test); for (var i = 0; i comp_in_composition.size(); i++) { var row = repeater.getRow(i); var type =

Re: pass repeater from database to the form

2008-08-01 Thread Ralph Rauscher
Use var row = repeater.addRow(); instead of var row = repeater.getRow(i); Мария Григорьева wrote: I'm trying to pass the parameters from the database to the repeater in the form. var repeater=form.getChild(test); for (var i = 0; i comp_in_composition.size(); i++) {

Re: pass repeater from database to the form

2008-08-01 Thread Magsend
); } But, I've got an exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 What's the problem? How to pass this params to the form repeater? -- View this message in context: http://www.nabble.com/pass-repeater-from-database-to-the-form-tp18778753p18780735.html Sent

Re: pass repeater from database to the form

2008-08-01 Thread Magsend
: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 What's the problem? How to pass this params to the form repeater? -- View this message in context: http://www.nabble.com/pass-repeater-from-database-to-the-form-tp18778753p18781627.html Sent from the Cocoon - Users mailing list

Re: pass repeater from database to the form

2008-08-01 Thread Magsend
repeater? -- View this message in context: http://www.nabble.com/pass-repeater-from-database-to-the-form-tp18778753p18781881.html Sent from the Cocoon - Users mailing list archive at Nabble.com