struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xianwinwin <xianwin...@gmail.com>
Subject Re: S2: validation notation on DATE (object that has a Date field)
Date Thu, 19 Jun 2008 14:03:55 GMT

I did, and it doesn't work, when I click submit, I immediately get a red
message next to the required fields...but not next to the date. 



Lukasz Lenart wrote:
> 
> Hi,
> 
> Did you try
> @RequiredFieldValidator(type = ValidatorType.SIMPLE, fieldName =
> "customfield", message = "You must enter a value for field.")
> ?
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/S2%3A-validation-notation-on-DATE-%28object-that-has-a-Date-field%29-tp17995565p18009730.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message