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
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
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,
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
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
5 matches
Mail list logo