You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Windy Hung <wi...@yahoo.com> on 2008/12/31 08:42:23 UTC
Struts 2 Validation Problem
Hi
I use action field validation for my form.
When I press "submit" button multiple times to test a field validation of "requiredstring", each invalid value message is printed and is stacked on each other.
That means if I press "submit" button 5 times, the invalid warning message is printed out 5 times on the same page.
How do I clean up the validation message when I press "submit" button multiple times.
Thanks
Windy Hung
Re: Struts 2 Validation Problem
Posted by Felipe Fraga <fe...@gmail.com>.
Hello,
I don't see this happening in 2.0.14.
Are you using any custom validators? Any custom stack?
Felipe Fraga
On Wed, Dec 31, 2008 at 5:42 AM, Windy Hung <wi...@yahoo.com> wrote:
> Hi
> I use action field validation for my form.
> When I press "submit" button multiple times to test a field validation of "requiredstring", each invalid value message is printed and is stacked on each other.
> That means if I press "submit" button 5 times, the invalid warning message is printed out 5 times on the same page.
> How do I clean up the validation message when I press "submit" button multiple times.
> Thanks
>
> Windy Hung
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org