Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 47723 invoked from network); 3 Jun 2004 22:27:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Jun 2004 22:27:44 -0000 Received: (qmail 42763 invoked by uid 500); 3 Jun 2004 22:27:49 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 42244 invoked by uid 500); 3 Jun 2004 22:27:46 -0000 Mailing-List: contact user-help@struts.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 user@struts.apache.org Received: (qmail 42230 invoked by uid 99); 3 Jun 2004 22:27:46 -0000 Received: from [128.120.135.200] (HELO matmail.ucdavis.edu) (128.120.135.200) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 03 Jun 2004 15:27:46 -0700 Received: by matmail.ucdavis.edu with Internet Mail Service (5.5.2657.72) id ; Thu, 3 Jun 2004 15:27:18 -0700 Message-ID: From: Avinash Gangadharan To: 'Struts Users Mailing List' Subject: RE: Validating multiple DTO's within a single ActionForm. Date: Thu, 3 Jun 2004 15:27:18 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >>Now there are general validation needed at submit time for each Form Does this means that you save the data onto a persistent storage on each form submit. If that is the case, on a validation error of the final credit application all you have to figure out is which form does the error belong too and then you can populate the form bean and forward the action to that form. You may avoid putting all your forms in session this way as you already have the data stored somewhere. If this is something like a multipage form then the issue is different and you have to handle it the way multi page forms are handled. You can get more details if you search the mailing list or from some docs. Avinash -----Original Message----- From: Mick.Knutson@wellsfargo.com [mailto:Mick.Knutson@wellsfargo.com] Sent: Thursday, June 03, 2004 2:50 PM To: user@struts.apache.org Subject: Validating multiple DTO's within a single ActionForm. Importance: High I am trying to design my forms and the way I need to validate them. Here is what my Business Model Looks like: CreditApplication -->Business |---->Business Account --->Banker --->Guarantor Each of the Items above has their own HTML page and DynaValidationForm. Now there are general validation needed at submit time for each Form, but then there is additional validation needed when they try to save the CreditApplication. We were planning on saving all the DynaForms into Session Scope until a "Save" is attempted. They validate the additional validation. How do we go about doing this? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > Mick.Knutson@WellsFargo.com > MAC A0103-223 --- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org