Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 46724 invoked from network); 2 Aug 2006 15:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 15:23:12 -0000 Received: (qmail 88186 invoked by uid 500); 2 Aug 2006 15:23:00 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 88148 invoked by uid 500); 2 Aug 2006 15:23:00 -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 88137 invoked by uid 99); 2 Aug 2006 15:23:00 -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 08:23:00 -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 hanmayya.udgiri@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 08:22:59 -0700 Received: by py-out-1112.google.com with SMTP id w49so1946502pyg for ; Wed, 02 Aug 2006 08:22:38 -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=qvQa29dHFNEAaza/6mB/n7eRrkqzD/nypTsJrgInZ/+loHUIjFY3T+Z4ohyeW00bKO6N2k1wjboOWAT0lkm8FV06wiyPH/U9YLY+CYYPaUCONFtiUYzNIIOtW2UYXTuoppal4+ZMOqLkS24tPxdS7vLkkMcPXigtmVxnETMnHm8= Received: by 10.35.96.11 with SMTP id y11mr1600621pyl; Wed, 02 Aug 2006 08:22:38 -0700 (PDT) Received: by 10.35.119.20 with HTTP; Wed, 2 Aug 2006 08:22:38 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 20:52:38 +0530 From: "Hanmay Udgiri" To: "Struts Users Mailing List" Subject: Re: Sturts form validation In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_116490_9111489.1154532158170" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_116490_9111489.1154532158170 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi curently i am doing like this only?? but there any other way to call the validate mehtod of all the forms???? On 8/2/06, Monkeyden wrote: > > 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 > > > > > > -- Thanks and Regards Hanmayya Udgiri ------=_Part_116490_9111489.1154532158170--