Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 84307 invoked from network); 11 Dec 2008 22:14:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 22:14:13 -0000 Received: (qmail 63445 invoked by uid 500); 11 Dec 2008 22:14:19 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 63430 invoked by uid 500); 11 Dec 2008 22:14:19 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 63419 invoked by uid 99); 11 Dec 2008 22:14:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 14:14:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.195.13.206] (HELO web110615.mail.gq1.yahoo.com) (67.195.13.206) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 11 Dec 2008 22:14:05 +0000 Received: (qmail 96387 invoked by uid 60001); 11 Dec 2008 22:13:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=H2Z02Vrz3znSpUyyI1STJrB244f6JXi+L6ZWcbvYDOuWQ99Q6t5lOK0xq4zS7Lj7k0rY9iiQmYp5aQkPgqfS1qmHejPww+HhDYR6W8Z3jb0as2Pn3hY9pwN43GMPZLqQCWJoQ62ydMVGk06HnERN27XwCC6MQYuMZA+SmVX0ZMg=; X-YMail-OSG: 8PbIu_UVM1nUk.nBEAacrFy0A7PJCbvE3qMWvlMBJOcCK_NdbYP.oz_se3sAotuOvFYKKYVTkWEScE1U6hqhrKiO6Uq0adLpwltax4DiRT0f.WRThfuXRUqWMGxKwDYZ0QozXWn2gCA808Marb0H80US Received: from [68.39.5.235] by web110615.mail.gq1.yahoo.com via HTTP; Thu, 11 Dec 2008 14:13:43 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Thu, 11 Dec 2008 14:13:43 -0800 (PST) From: Dave Newton Reply-To: newton.dave@yahoo.com Subject: Re: Nested-tag support To: Struts Developers List In-Reply-To: <200812112247.05652.andreak@officenet.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <404449.96363.qm@web110615.mail.gq1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- On Thu, 12/11/08, Andreas Joseph Krogh wrote: > On Thursday 11 December 2008 22:36:37 Musachy Barroso wrote: > > I am sort if confused here, what are the advantages of this? > > > =A0 > =A0 > [...] The issue is the generation of the form element name, the input element val= ue stuff would already work. If push kept a stack of the names of pushed elements it could be used to ge= nerate the "name" attribute--but wouldn't you'd have to correlate with the = depth at which getStreet() was found? Let's say person.address didn't have a "street" property: currently the val= ue stack would be searched until a getStreet() is found or the stack runs o= ut. So you'd have to either change the semantics of value stack lookups (ba= d, and would break modelDriven, and probably a bunch of other things) or pr= ovide a way to match pushed objects' names with where objects are found on = the stack. That paragraph made sense in my head, and I'm pretty sure I know what I mea= n, but it's not coming out particularly well. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org