Hi Srini,

>  It works as intended, except when I enter just single numeric character or 
> some text characters for "BirthDate" field, yes-invalid input, it just does 
> not redirect to the page intended, nor does it throw exception saying 
> something wrong with input data. I suspect I am missing something.

The example you are referring to is in Chapter 3,
at which point validation hasn't been covered yet.

What you want is @DontValidate on the cancel()
event handler. Keep reading :) this is explained in
Chapter 4, under "The Cancel Button".

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to