I wonder what the purpose is of returning false.
On 10/30/07, John Doe <[EMAIL PROTECTED]> 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 vali
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 <[EMAIL PROTECTED]> wrote:
>
> No, there is no exception.
>
> On 10/28/
No, there is no exception.
On 10/28/07, Paul Benedict <[EMAIL PROTECTED]> 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
I think validation can pass if an exception is thrown. Please check your log
files that no error is occurring with your validation.
Paul
Yes. I have validation working correctly. Required and mask works good. And
my validator method gets called and returns false, but I do not add any
errors message is it necessary?
On 10/26/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> John Doe wrote:
> > Hi,
> > I have Struts 1.2.7 application
John Doe wrote:
Hi,
I have Struts 1.2.7 application and I need to write custom validator for my
form. I've wrote struts tutorial at
http://struts.apache.org/1.2.7/userGuide/dev_validator.html
and have tried to do the same. But my validator is not working. Here is my
class method :
public class
6 matches
Mail list logo