struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam kramer <a...@monkey.org>
Subject Re: Validating DATE field
Date Sat, 07 Sep 2002 21:19:40 GMT

It probably has something to do with all the validation types in
validator-rules.xml being dependent on required.

-adam k.

On Fri, 6 Sep 2002, Dave Derry wrote:

> This is a problem that has been brought up several times. I don't know about
> b1 since I've just started using Validator (with b2), but I do know that the
> problem has been fixed in CVS. It is a very simple patch, that you can
> easily make yourself if you don't want to get a nightly build. Check the CVS
> repository for StrutsValidator.java. You just need to move a } in
> validateDate.
>
> Dave D
>
> ----- Original Message -----
> From: "Drago Jenko" <djenko@zav-triglav.si>
>
>
> Hi,
>
> Does someone has problem using validating date field which is not
>
> required. I always get error when the field is empty,  that is not a proper
> date.
>
> I started writing program under Struts 1.1.b1 and  it worked , but when I
> changed to Struts 1.1.b2 this problem has occured.
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message