You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/10/03 11:41:46 UTC
DO NOT REPLY [Bug 13239] New: -
Validator Not accepting yyyy/MM
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13239>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13239
Validator Not accepting yyyy/MM
Summary: Validator Not accepting yyyy/MM
Product: Struts
Version: 1.1 Beta 2
Platform: PC
URL: http://http://
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: ravindran_Senthil@rediffmail.com
Hi ,
I am trying out the possiblities of Struts for our project,
and i found the following issue
I am having a date pattern (yyyy/MM) in
one of my forms and in validation.xml
*******************************
<field property="date"
depends="required,date">
<arg0 key="typeForm.date.displayname"/>
<var>
<var-name>datePatternStrict</var-name>
<var-value>yyyy/MM</var-value>
</var>
</field>
*************************
Even if i give a proper date like (2002/01) ,i am getting a invalid
date response from the Framework.
I went through "validateDate(form) " validator-rules.xml and
gave couple of alerts and found the function has not been coded
to cover this format.
Please suggest what should be done?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>