struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phase Web and Multimedia" <m...@phase.ws>
Subject RE: [Gurus Invited] Why not an Action Based Validator?
Date Wed, 15 Jan 2003 15:39:45 GMT
Wow! I am glad to hear I am not alone ;-)

For a second there I thought I was being one of those obstinate fools who
can't see the forest for the trees. :-))

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
mail@phase.ws
http://www.phase.ws


-----Original Message-----
From: Mark Galbreath [mailto:mark_galbreath@qat.com]
Sent: Wednesday, January 15, 2003 8:19 AM
To: 'Struts Users Mailing List'; andrew.david.hill@gridnode.com
Subject: RE: [Gurus Invited] Why not an Action Based Validator?


One of my colleagues and I had this very same debate last summer.  I was
putting all my validation in the Action class and he was insisting that the
Struts spec "required" validation be placed in the Action form.  We never
did agree and continued as we were.

Mark

-----Original Message-----
From: Andrew Hill [mailto:andrew.david.hill@gridnode.com]
Sent: Wednesday, January 15, 2003 5:24 AM


+1

-----Original Message-----
From: Phase Web and Multimedia [mailto:mail@phase.ws]
Sent: Wednesday, 15 January 2003 18:30


But that is my whole point. Complex validation or not. Why don't we handle
both types of validation in the SAME class. I don't want to beat this into
the ground. But, it just seems organizationaly better in my mind to handle
validation on the Action level. With all the great minds on this project I
am certain that there is a good design reason for placing validate in the
ActionForm. I am just curious what it is.

Thanks,
Brandon Goodin



--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message