You can use computed values for your index to the array which contains bean
attribute
Take a look at
http://www.informit.com/content/images/0131001531/samplechapter/0131001531.pdf+%22Single+JSP%22+AND+%22Nested+Beans%22&hl=en
HTH,
Martin Gainty
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official
business of Sender and is proprietary to Sender. It is confidential, legally
privileged and protected by law. Sender does not own and endorse any other
content.
(mobile) 617-852-7822
(http)www.laconiadatasystems.com
From: Adam Hardy <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Re: architecture of composite action forms
Date: Thu, 30 Jun 2005 15:06:52 +0100
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by MC8-F38.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Thu, 30 Jun 2005 07:04:56 -0700
Received: (qmail 65589 invoked by uid 500); 30 Jun 2005 14:04:36 -0000
Received: (qmail 65576 invoked by uid 99); 30 Jun 2005 14:04:36 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by
apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 07:04:36 -0700
Received: neutral (asf.osuosl.org: local policy)
Received: from [212.227.126.171] (HELO moutng.kundenserver.de)
(212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun
2005 07:04:38 -0700
Received: from host81-156-182-132.range81-156.btcentralplus.com
[81.156.182.132] (helo=[192.168.1.252])by mrelayeu.kundenserver.de with
ESMTP (Nemesis),id 0ML2Dk-1Dnzeb08U0-0007kC; Thu, 30 Jun 2005 16:04:33
+0200
X-Message-Info: JGTYoYF78jFGoW0NdCpsbo2suOrhLHiKS8S3j5SGMeY=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:user@struts.apache.org>
List-Id: "Struts Users Mailing List" <user.struts.apache.org>
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.5)
Gecko/20050105 Debian/1.7.5-1
X-Accept-Language: en-gb, de, en-us
References: <[EMAIL PROTECTED]>
X-Provags-ID: kundenserver.de [EMAIL PROTECTED]
login:7be52423742ce504c1b541fa1f258887
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 30 Jun 2005 14:04:56.0376 (UTC)
FILETIME=[B1E29380:01C57D7C]
Rivka Shisman on 30/06/05 13:30, wrote:
I have a transfer object called FatherTO that contains a collection of
ChildTO's.
Sounds like you should look at 'nested beans'. Check them out on the
jakarta struts website.
It depends on your user interface design. You may find it easier to have a
second jsp just for the child. That way, you would use a second form bean
as well.
But nested beans are the thing to use when you want to do it all on one
JSP.
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]