Re: struts date validator

2005-05-05 Thread Erik Weber
=/mySubmitAction field property=myDate depends=date msg name=date key=myDate.format.mm.dd./ /field /form Erik Weber [EMAIL PROTECTED] wrote:I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: We are using struts date validator, for some reason we found that the struts

struts date validator

2005-05-04 Thread Carl Smith
We are using struts date validator, for some reason we found that the struts date validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Did you have the same issue? What is the correct way to validate the date? Thanks

Re: struts date validator

2005-05-04 Thread Erik Weber
I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: We are using struts date validator, for some reason we found that the struts date validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Did you have

Re: struts date validator

2005-05-04 Thread Carl Smith
] wrote:I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: We are using struts date validator, for some reason we found that the struts date validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Did