Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 96232 invoked from network); 21 Mar 2003 15:34:35 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 21 Mar 2003 15:34:35 -0000 Received: (qmail 14359 invoked by uid 97); 21 Mar 2003 15:36:22 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 14352 invoked from network); 21 Mar 2003 15:36:21 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 21 Mar 2003 15:36:21 -0000 Received: (qmail 94435 invoked by uid 500); 21 Mar 2003 15:34: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 94423 invoked from network); 21 Mar 2003 15:34:13 -0000 Received: from mail17.messagelabs.com (62.231.131.67) by daedalus.apache.org with SMTP; 21 Mar 2003 15:34:13 -0000 X-VirusChecked: Checked X-Env-Sender: ady.daso'toole@camelotinteractive.com X-Msg-Ref: server-32.tower-17.messagelabs.com!1048260801!12885 Received: (qmail 1874 invoked from network); 21 Mar 2003 15:33:21 -0000 Received: from unknown (HELO WATNTMSWEEP02.camelotinteractive.com) (195.190.132.135) by server-32.tower-17.messagelabs.com with SMTP; 21 Mar 2003 15:33:21 -0000 Received: from dc01.camelotinternational.com (unverified) by WATNTMSWEEP02.camelotinteractive.com (Content Technologies SMTPRS 4.3.6) with ESMTP id ; Fri, 21 Mar 2003 15:32:41 +0000 Received: by DC01 with Internet Mail Service (5.5.2650.21) id ; Fri , 21 Mar 2003 15:32:37 -0000 Message-ID: <60EF6C70DC36D611823600508B8B193EC7DA1D@DC01> From: Ady Das O'Toole To: 'Struts Users Mailing List' , "'JWeber@Eventra.com'" Subject: RE: Validation and Reset Date: Fri, 21 Mar 2003 15:32:36 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You could remove the validate call in your form and call the form's validate method in your Action depending on whether it was a submit or reset. //validate form ActionErrors errors = new ActionErrors(); errors = yourForm.validate(mapping, request); //put the errors object in request saveErrors(request, errors); //forward to input -----Original Message----- From: Weber, Jeremy [mailto:JWeber@Eventra.com] Sent: 21 March 2003 14:27 To: 'Struts Users Mailing List' (E-mail) Subject: Validation and Reset Hello all! It seems when I click my reset button my form is validated. Is there anyway to keep this from happening? I am using and the reset methodology here http://www.husted.com/struts/tips/001.html Jeremy Weber Eventra, Inc. Sr. SCM Specialist 203-882-9988 x2631 jweber@eventra.com --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ ********************************************************************** The information contained in this e-mail may be confidential. It is intended only for for the use of the named recipient. If you are not the named recipient please delete this e-mail. If you have received this e-mail and are not the named recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained in this e-mail is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. Registered Office: Camelot Group plc Tolpits Lane Watford WD18 9RN Tel: 01923 425000 Registered in England and Wales No. 2822203 ********************************************************************** ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org