Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 75664 invoked from network); 2 Aug 2006 08:08:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 08:08:28 -0000 Received: (qmail 27208 invoked by uid 500); 2 Aug 2006 08:08:19 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 27031 invoked by uid 500); 2 Aug 2006 08:08:18 -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 27020 invoked by uid 99); 2 Aug 2006 08:08:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 01:08:18 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of monkeyden@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 01:08:16 -0700 Received: by nf-out-0910.google.com with SMTP id a4so318905nfc for ; Wed, 02 Aug 2006 01:07:55 -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:references; b=Eh9JavTMxCfv9mmNzxaEdSjZa1lqljvF9GFgRDTAZQvDs9IfOozLidNztWCBa7D4yaVzujoKOV0kGd9tNnowS/GW2SZDg+k1mgnnk15SjTGZEUyO0XaXQEmw7ZqKllJPyCmzGgG3KxNPTWQ/W4mCI+nEJuwyDiJkb+0UxYBMO0Q= Received: by 10.82.101.3 with SMTP id y3mr51478bub; Wed, 02 Aug 2006 01:07:55 -0700 (PDT) Received: by 10.82.107.2 with HTTP; Wed, 2 Aug 2006 01:07:55 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 04:07:55 -0400 From: Monkeyden To: "Struts Users Mailing List" Subject: Re: Sturts form validation In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2102_29722264.1154506075571" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2102_29722264.1154506075571 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline If I understand you correctly.... If you have references to the "subforms" within an "outter form", just call each subform's validate() method in the outter forms validate() method. Couldn't tell you how you'll get Struts to auto-populate those subforms though. MainActionForm{ validate(...){ mySubForm1.validate(...); mySubForm2.validate(...); } } On 8/2/06, Hanmay Udgiri wrote: > > Hi > I have a form which consists of around another 5 forms object. > And each form has its own validation.How to call the validate method of > the > each forms?? > > > -- > Thanks and Regards > Hanmayya Udgiri > > ------=_Part_2102_29722264.1154506075571--