hi,

this came up several times on this list... and i think there was also
a JIRA entry

the answers are:
1) add a @Meta annotation to change the strategy of @Persist 
without attribute (Howard)

2) clear the errors manually (as pointed out by Angelo)

3) pass in a own ValidationTracker instance to the Form being 
persisted with @Persist("flash") (tracker parameter)

4) more general solution to 3) create your own Form component
by extending Tapestry Form 

for more details search the list (www.nabble.com,...)

g,
kris




"Renat Zubairov" <[EMAIL PROTECTED]> 
28.03.2008 09:11
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
"Tapestry users" <users@tapestry.apache.org>
Kopie

Thema
Re: [T5] Form errors persisted in session?







Hi

Thanks for the info, but generally IMHO it's a bug when error
validation status is stored in the session. How do you think?

Renat

On 27/03/2008, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>  how about:
>
>  @Component
>    private Form regForm;
>  void cleanupRender() {
>       regForm.clearErrors();
>
>   }
>
>
>  Renat Zubairov wrote:
>  >
>  > Hi
>  >
>  > Where are the validation results of the BeanEdit persisted in T5?
>  > I disabled javascript then submited empty form, then enabled
>  > javascript and opened empty form without any sumbit, but errors are
>  > still there. Only when I dropped the cookie error
>  > messages went away.
>  >
>  > --
>  > Best regards,
>  > Renat Zubairov
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>  >
>
>  --
>
> View this message in context: 
http://www.nabble.com/-T5--Form-errors-persisted-in-session--tp16339068p16340460.html

>  Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Best regards,
Renat Zubairov

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to