struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict" <pbened...@apache.org>
Subject Re: Struts 1.2.7 custom validator problem
Date Mon, 05 Nov 2007 08:39:57 GMT
I wonder what the purpose is of returning false.

On 10/30/07, John Doe <bashmakov@gmail.com> wrote:
>
> I've solved the problem. The only way to validate properly is to add an
> error to the errors variable. Without this validator will think that
> everything is OK even if you returned false in validate method.
>
> On 10/29/07, John Doe <bashmakov@gmail.com> wrote:
> >
> > No, there is no exception.
> >
> > On 10/28/07, Paul Benedict <pbenedict@apache.org> wrote:
> > >
> > > I think validation can pass if an exception is thrown. Please check
> your
> > > log
> > > files that no error is occurring with your validation.
> > >
> > > Paul
> > >
> >
> >
> >
> > --
> > Best regards,
> > Bashmaкov Anton
>
>
>
>
> --
> Best regards,
> Bashmaкov Anton
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message