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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to