Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 83709 invoked from network); 2 Apr 2008 21:27:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 21:27:18 -0000 Received: (qmail 95699 invoked by uid 500); 2 Apr 2008 21:27:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 95672 invoked by uid 500); 2 Apr 2008 21:27:08 -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 95661 invoked by uid 99); 2 Apr 2008 21:27:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 14:27:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [129.237.247.62] (HELO hostess.altec.org) (129.237.247.62) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 21:26:26 +0000 Received: from localhost (localhost [127.0.0.1]) by hostess.altec.org (Postfix) with ESMTP id 3C32F34F501 for ; Wed, 2 Apr 2008 16:26:37 -0500 (CDT) X-Virus-Scanned: amavisd-new at altec.org Received: from hostess.altec.org ([127.0.0.1]) by localhost (hostess.altec.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O9-zi5DUk0gI for ; Wed, 2 Apr 2008 16:26:34 -0500 (CDT) Received: from hostess.altec.org (localhost [127.0.0.1]) by hostess.altec.org (Postfix) with ESMTP id A7AAC34F4C1 for ; Wed, 2 Apr 2008 16:26:34 -0500 (CDT) Received: (from apache@localhost) by hostess.altec.org (8.13.1/8.13.1/Submit) id m32LQYDR021757; Wed, 2 Apr 2008 16:26:34 -0500 X-Authentication-Warning: hostess.altec.org: apache set sender to jstraub@altec.org using -f Received: from 129.237.122.148 (SquirrelMail authenticated user jstraub) by mail.altec.org with HTTP; Wed, 2 Apr 2008 16:26:32 -0500 (CDT) Message-ID: <37746.129.237.122.148.1207171592.squirrel@mail.altec.org> In-Reply-To: References: <286372.93241.qm@web56714.mail.re3.yahoo.com> <2593.129.237.181.139.1207162484.squirrel@mail.altec.org> Date: Wed, 2 Apr 2008 16:26:32 -0500 (CDT) Subject: Re: Using sets of objects with tags From: jstraub@altec.org To: "Struts Users Mailing List" User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org > > You don't need to 'parse the stream', Struts does that for you. Struts > will call the setters on the objects in your set to pass the form inputs > into them. In other words, the result you want to achieve is what > happens automatically, provided you specify your input fields correctly. > > L. > Hmmmm, thought I had tried that. How do I retrieve those objects then? For example, in the first Action I create a set named 'students', and fill it with Student objects. In the .jsp, I iterate over the set of students, like so: (please ignore the table, this is just preliminary formatting, .css is on the way) . Is this incorrect? If not, how then do I retrieve the set of modified student objects in the submit Action? -Jared --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org