Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 34422 invoked from network); 15 Jan 2003 15:30:39 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jan 2003 15:30:39 -0000 Received: (qmail 4632 invoked by uid 97); 15 Jan 2003 15:30:17 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 4516 invoked by uid 97); 15 Jan 2003 15:30:14 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 4064 invoked by uid 98); 15 Jan 2003 15:30:04 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Phase Web and Multimedia" To: "Struts Users Mailing List" Subject: RE: [Gurus Invited] Why not an Action Based Validator? Date: Wed, 15 Jan 2003 08:39:45 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <004501c2bca9$74588b50$cd00a8c0@mgalbreathc810> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: