Re: messages.get always use default localization on "onValidate" and "onSuccess" ?

2012-09-06 Thread Yohan Yudanara
> > called from "setupRender" and "afterRender". > > But, why messages.get("key") always return string from default local > > properties when called from "onValidate" and "onSuccess" ? > > Am I doing something wrong or is t

Re: messages.get always use default localization on "onValidate" and "onSuccess" ?

2012-09-06 Thread Howard Lewis Ship
uot;) return string from correct local properties file when > called from "setupRender" and "afterRender". > But, why messages.get("key") always return string from default local > properties when called from "onValidate" and "onSuccess" ? >

messages.get always use default localization on "onValidate" and "onSuccess" ?

2012-09-06 Thread Yohan Yudanara
Hi.. I'm using T 5.3.4, @Inject private Messages messages; messages.get("key") return string from correct local properties file when called from "setupRender" and "afterRender". But, why messages.get("key") always return string from default local

Re: OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
and OnSuccess Having a simple form containing a simple field (TextField) I have problems validating its content. The validation is done using onValidate. The Form is processed using onSuccess. The problem arises that onValidate is invoked *before* the property is updated with the value to

AW: AW: OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
, > > Martin (Kersten) > > -Ursprüngliche Nachricht- > Von: Olivier Jacquet [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 19. März 2008 12:47 > An: Tapestry users > Betreff: Re: OnValidate and OnSuccess > > > Hi, > > > I ran into this issue as

Re: AW: OnValidate and OnSuccess

2008-03-19 Thread Olivier Jacquet
: Olivier Jacquet [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 19. März 2008 12:47 > An: Tapestry users > Betreff: Re: OnValidate and OnSuccess > > > Hi, > > > I ran into this issue as well. onValidate() is actually called multiple > times. Try it with onValidateFrom

AW: OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
: Tapestry users Betreff: Re: OnValidate and OnSuccess Hi, I ran into this issue as well. onValidate() is actually called multiple times. Try it with onValidateFromNewItem(). I can't check if that's how I solved it here. Regards, Olivier On Wed, 19 Mar 2008 11:39:55 +0100, "

Re: OnValidate and OnSuccess

2008-03-19 Thread Olivier Jacquet
Hi, I ran into this issue as well. onValidate() is actually called multiple times. Try it with onValidateFromNewItem(). I can't check if that's how I solved it here. Regards, Olivier On Wed, 19 Mar 2008 11:39:55 +0100, "Martin Kersten" <[EMAIL PROTECTED]> wrote: > Having a simple form cont

OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
Having a simple form containing a simple field (TextField) I have problems validating its content. The validation is done using onValidate. The Form is processed using onSuccess. The problem arises that onValidate is invoked *before* the property is updated with the value to validate. D