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 work right. After that though
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 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 work right. After that though you get
used to it very fast. It is simple, extensible and your validations are
not in code,
Can some please validate this?
My application uses Struts Action Form.
I am also using Value Objects.
I am not doing validations using validations.xml and validator-rules.xml. I'm
performing simple validations on server side as follows:
Can some one please check the below code and tell me if
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
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
6 matches
Mail list logo