Re: Repost: Validations in Action Form

2003-09-01 Thread Joe @ Team345
setter methods of the action form. They may throw some IllegalArgumentException when you are trying to set some of wrong arguments in the form. How will you take care it. Deepak. -Original Message- From: Joe @ Team345 [mailto:[EMAIL PROTECTED] Sent: Saturday, August 30, 2003 7:00 PM To: Struts Users

RE: Repost: Validations in Action Form

2003-09-01 Thread deepaksawdekar
30, 2003 7:00 PM To: Struts Users Mailing List Subject: Re: Repost: Validations in Action Form No, IMO you should not do what you outline. Rather, use the "Struts Validator Framework" to do validation. It took me a little bit to get the first "required" validation to wo

Re: Repost: Validations in Action Form

2003-08-30 Thread Joe @ Team345
No, IMO you should not do what you outline. Rather, use the "Struts Validator Framework" to do validation. It took me a little bit to get the first "required" validation to work right. After that though you get used to it very fast. It is simple, extensible and your validations are not in code,

RE: Repost: Validations in Action Form

2003-08-29 Thread sriram
Adam, Thanks for the information. Sriram -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 5:18 PM To: Struts Users Mailing List Subject: Re: Repost: Validations in Action Form Hi Siriam, there are no struts framework rules. There is the MVC

Re: Repost: Validations in Action Form

2003-08-29 Thread Adam Hardy
Hi Siriam, there are no struts framework rules. There is the MVC framework which you should try to adhere to and not violate, which is why you are using struts, right? There are areas in struts where the adherence to MVC design, or even OO design, is not 'optimal', caused by the interfaces betw