Re: form submit doesnt work when using an encoder

2010-11-10 Thread hese
Thanks Juan! Looks like this could have been the problem. Will try it and let you know. -- View this message in context: http://tapestry.1045711.n5.nabble.com/form-submit-doesnt-work-when-using-an-encoder-tp3257152p3258966.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Juan E. Maya
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 wrote: > SetupRender is only executed when the page is being

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Juan E. Maya
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 initiali

Re: form submit doesnt work when using an encoder

2010-11-10 Thread hese
sorry, not sure I understand what you mean ... but I am initializing my souce values in setupRender() like this - @Property private List tagRows; void setupRender() { loadTags(); } should I be initializing it elsewhere? Actually, now I am doing it without the encoder (coz i cannot was

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Christophe Cordenier
Hi How do you initialize your source values on submit ? 2010/11/9 hese <1024h...@gmail.com> > > hi > > I have a form in which I use a grid with an encoder. Strangely when I > include the encoder attribute in the grid component onSubmit() or > onSuccessFrom...() dont get called. When I remove