Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 44331 invoked from network); 4 Feb 2009 10:27:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2009 10:27:28 -0000 Received: (qmail 96877 invoked by uid 500); 4 Feb 2009 10:27:10 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 96846 invoked by uid 500); 4 Feb 2009 10:27:10 -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 96819 invoked by uid 99); 4 Feb 2009 10:27:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 02:27:10 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 146.87.0.11 is neither permitted nor denied by domain of R.Gundersen@salford.ac.uk) Received: from [146.87.0.11] (HELO airy.salford.ac.uk) (146.87.0.11) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Feb 2009 10:27:01 +0000 Received: (qmail 80207 invoked by uid 98); 4 Feb 2009 10:26:41 +0000 Received: from 146.87.9.6 by airy.salford.ac.uk (envelope-from , uid 401) with qmail-scanner-2.01 (clamdscan: 0.94.2/8949. spamassassin: 3.2.4. Clear:RC:1(146.87.9.6):. Processed in 0.036844 secs); 04 Feb 2009 10:26:41 -0000 Received: from isd-cn02.isdads.salford.ac.uk (HELO ISD-EXV02.isdads.salford.ac.uk) (146.87.9.6) by airy.salford.ac.uk (qpsmtpd/0.3x.614) with SMTP; Wed, 04 Feb 2009 10:26:41 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Setting a List in a ModelDriven action Date: Wed, 4 Feb 2009 10:26:37 -0000 Message-ID: <4727937CA56955419702B95C2A606B9E02A9649E@ISD-EXV02.isdads.salford.ac.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Setting a List in a ModelDriven action Thread-Index: AcmGsxAblwSRyZruRQm+AIUu1vEwoQ== From: "Richard Gundersen" To: X-Virus-Checked: Checked by ClamAV on apache.org Hi I've got a ModelDriven action. The model is an object, say 'Parent' which contains some simple properties, but also a List of 'Children' objects. Rendering the list of Children in a form is easy enough, but I was wondering if there is a nice way to *set* the list back into the model when the user submits the form.=20 I think this is close to what I want (http://article.gmane.org/gmane.comp.jakarta.struts.user/159631/match=3Dc= o llection+modeldriven) but I wasn't able to get very far. I could do it manually, reading the request params one by one and building the list myself but I was wondering if there were some cool Tags that I could make use of? Regards =20 Richard Gundersen Information & Learning Services Ashworth Building ext 56681 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org