Validation by Annotation against a list of entities

2009-12-11 Thread RogerV
in context: http://old.nabble.com/Validation-by-Annotation-against-a-list-of-entities-tp26743887p26743887.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr

Re: validation with annotation

2008-03-13 Thread matt.payne
in context: http://www.nabble.com/validation-with-annotation-tp15966492p16039860.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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;

Re: validation with annotation

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

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

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: