The PREPARE event is executed when the form is render and when is submitted as explained here: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/EventConstants.html#PREPARE
On Wed, Nov 10, 2010 at 4:59 PM, Juan E. Maya <maya.j...@gmail.com> wrote: > SetupRender is only executed when the page is being render. Encoders > are used during render and during submit so you should use the > PREPARE event of your form. > > > On Wed, Nov 10, 2010 at 4:49 PM, hese <1024h...@gmail.com> wrote: >> >> >> sorry, not sure I understand what you mean ... but I am initializing my >> souce values in setupRender() like this - >> >> @Property >> private List<TagRow> tagRows; >> >> void setupRender() { >> loadTags(); >> } >> >> should I be initializing it elsewhere? >> >> Actually, now I am doing it without the encoder (coz i cannot waste anymore >> time with this) and it works. but would still love to know what the problem >> was. >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/form-submit-doesnt-work-when-using-an-encoder-tp3257152p3258889.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org