Re: validation with annotation

2008-03-13 Thread matt.payne
2-validators.html > > Thanks > > -- > Ealden Esto E. Escañan > http://blog.ealden.net > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > &g

Re: validation with annotation

2008-03-12 Thread Ealden Escañan
On Wed, Mar 12, 2008 at 4:17 AM, xianwinwin <[EMAIL PROTECTED]> wrote: > > 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; > > > @TypeConver

Re: validation with annotation

2008-03-11 Thread xianwinwin
e } 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

Re: validation with annotation

2008-03-10 Thread Ealden Escañan
On Tue, Mar 11, 2008 at 7:10 AM, xianwinwin <[EMAIL PROTECTED]> wrote: > > assuming registration is composed of fname, lname, ss, dob and except dob > all fields are mandatory. > > Question: how do I make sure those fields will be input? should I have > something like: > > @RequiredStringValidator(

validation with annotation

2008-03-10 Thread xianwinwin
Hi there, I would like to create a validation with annotation. consider the following case: @Validation public class AddCaseAction { private Registration registration; . . . public String addNewRegistration() { //do something return