Thanks Ealden, this was very helpful!
I tried that and it works fine.
Question, say I wish to check for a date, so far I've been doing it this
way:
example
private Date delta;
@TypeConversion(converter="com.utilities.conversion.DateTypeConversion")
public void setDelta(Date delta)
{
this.delta = delta;
}
Obviously the I created the converter. How can I incorporate this
TypeConversion into the Action Annotation (say to field registration.dob)?
@Validations(...what comes here.???...)
public String save()
{
//some code
}
Thank you!
--
View this message in context:
http://www.nabble.com/validation-with-annotation-tp15966492p15988555.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]