struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaclavik Radek <Radek.Vacla...@zentiva.cz>
Subject RE: Date validation another question
Date Wed, 05 Jan 2005 10:33:33 GMT
Hi,

this works fine for me (in validation.xml file). I see no problem with using
datePattern...

<field property="dateTo"
	depends="required,date">
	<arg0 key="zsc.dateTo"/>
	<var>
              <var-name>datePattern</var-name>
              <var-value>dd.MM.yyyy</var-value>
            </var>			
</field>

Radek

> -----Original Message-----
> From: Manisha Sathe [mailto:manisha_msathe@yahoo.com]
> Sent: Wednesday, January 05, 2005 9:23 AM
> To: user@struts.apache.org
> Subject: Date validation another question
> 
> 
> Currently testing text box i/p for date. I do not want to 
> make use of "datePatternStrict" so i used "datePattern" but 
> still it is validating as per "datePatternStrict" only. It is 
> not accepting 1/1/2005 as i/p
>  
> Do i need to set anything else too ?
>  
>  
> 
> 		
> ---------------------------------
> Do you Yahoo!?
>  Take Yahoo! Mail with you! Get it on your mobile phone.
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message