Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 38742 invoked from network); 10 Aug 2005 20:06:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 20:06:51 -0000 Received: (qmail 93303 invoked by uid 500); 10 Aug 2005 20:04:46 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 93282 invoked by uid 500); 10 Aug 2005 20:04:46 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 93269 invoked by uid 99); 10 Aug 2005 20:04:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 13:04:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jbbeal@gmail.com designates 64.233.184.204 as permitted sender) Received: from [64.233.184.204] (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 13:05:08 -0700 Received: by wproxy.gmail.com with SMTP id 71so211675wra for ; Wed, 10 Aug 2005 13:04:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DYz/+DPfiN4jnsaIVUknoLXBQr//8secytamA/RkwBWGasH698Bk/BBbu3r/TCVbnJOrcVGv23qp7TMj3/+IlP1T0nAq3xsS1voq43WSqJ3HQDPZoGrEgjjcW77huQDbWy8GAoJcliuNyMhX+ugNepXPkQLi7q7YzoD9dNSp+tc= Received: by 10.54.15.18 with SMTP id 18mr700608wro; Wed, 10 Aug 2005 13:04:45 -0700 (PDT) Received: by 10.54.71.8 with HTTP; Wed, 10 Aug 2005 13:04:45 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2005 16:04:45 -0400 From: Jeff Beal To: Struts Users Mailing List Subject: Re: {Spam?} Re: validate() not called haunts In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42FA0F0F.3050003@msoft.co.uk> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N addErrors() is a new method in 1.2.7. addErrors() and addMessages() are both valid, and both accept ActionMessages as arguments. For more on the difference between ActionErrors and ActionMessages, see http://wiki.apache.org/struts/ActionErrorsAndActionMessages. Also, please get rid of the 'Re: {Spam?}' in your subject lines. It's annoying in general, but also causes GMail to think you are starting a new "Conversation". I imagine that other mail readers have similar issues. -- Jeff On 8/10/05, GRamani@intellicare.com wrote: > Gareth Evans wrote on 08/10/2005 10:28:31 AM: >=20 > > You could manually set the errors in the page within your action > > with the method > > > > addErrors( request , form.update(mapping,request) ); > > > > the addErrors method is already defined in the class Action. >=20 > It is saveErrors(request,..etc. isn't it? > Also, I think you're supposed to ActionMessages instead of ActionErrors.. >=20 > Geeta >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org