Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 18338 invoked from network); 18 Jul 2006 02:54:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jul 2006 02:54:40 -0000 Received: (qmail 38022 invoked by uid 500); 18 Jul 2006 02:54:38 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 37970 invoked by uid 500); 18 Jul 2006 02:54:38 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 37961 invoked by uid 99); 18 Jul 2006 02:54:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 19:54:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 19:54:38 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3E4D6D495B for ; Tue, 18 Jul 2006 03:54:17 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@struts.apache.org Date: Tue, 18 Jul 2006 02:54:17 -0000 Message-ID: <20060718025417.12388.73541@ajax.apache.org> Subject: [Struts Wiki] Update of "Comparison using nested tag vs JSTL for nested objects on form" by MichaelJouravlev X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by MichaelJouravlev: http://wiki.apache.org/struts/Comparison_using_nested_tag_vs_JSTL_for_nested_objects_on_form The comment on the change is: Moved content to StrutsTags, "Comparison using nested tag vs JSTL for nested obj ------------------------------------------------------------------------------ - === Comparison using nested tag vs JSTL for nested objects on form === + #redirect StrutsTags + ## Content is moved to StrutsTags, "Comparison using nested tag vs JSTL for nested objects on form" - Many think that you are required to display nested data using the Nested tag. I agree the Nested tag is the cleaner solution, but just so you are aware you can do this with JSTL as well. (Below assumes JSP2.0) - - companyForm has a List of divisions and for each division in the list there is a list of department objects and we will display the 'name' of each department. - - ''JSTL Solution'' - {{{ - - Division:
- - --- Department:
-
-
- }}} - - ''Nested Tag Solution'' - {{{ - - - Division:
- - --- Department:
-
-
-
- }}} -