Thanks Matt, very kind on you part. As I have always said. For your job, you
are a master of keywords.

On Wed, May 28, 2008 at 10:11 PM, Matt Raible <[EMAIL PROTECTED]>
wrote:

> If you can't use the DateValidator from Commons Validator, you can
> always chain validators by providing a list of validators to your
> Controller. That way, you can use Commons Validator for the simple
> stuff and write a Java class for the harder stuff. Also, you might
> look at the following:
>
> http://www.jroller.com/raible/entry/validating_dates_with_commons_validator
>
> Matt
>
> On Tue, May 13, 2008 at 10:33 PM, Carlos Ortiz <[EMAIL PROTECTED]>
> wrote:
> > Hi
> >
> > I have written a Spring MVC SimpleFormController form
> >
> > In it there is a Date input in the command bean.
> > I register de Date property editor.
> > My question is.
> >
> > If I enter 20009-20-13
> > Why is it not properly validated as invalid month.
> >
> > It returns me as I have added 8 months in the calendar.
> > Well I want to know how to properly validate Dates using Spring MC out of
> > the box.
> > Or should I use a Validator class.
> >
> > Bug if I enter 200a8-ss-ss An error is flagged.
> >
> > Any ideas.
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to