/logic:iterate
It's very simple but it works
cheers
Darryl
-Original Message-
From: Donald Ball [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 4:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Dynamic name to the text fields
On 8/30/2002 at 7:28 PM Anoop wrote:
Hi
choice for you
From: Darryl Nortje [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic name to the text fields
Date: Mon, 2 Sep 2002 12:48:37 +0200
Anoop, I did it by iterating through a collection
]
Subject: RE: Dynamic name to the text fields
I did by a similar approach:
logic:iterate name=Data indexId=index id=item
html:text property=textFieldName%=index%//td
...
/logic:iterate
In tha way you can take advantage of the iteration to set different property
names to your input
//
/td
/tr
/logic:iterate
It's very simple but it works
cheers
Darryl
-Original Message-
From: Donald Ball [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 4:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Dynamic name to the text fields
On 8/30/2002 at 7:28
at the end of the day
-Original Message-
From: Anoop [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 02, 2002 2:10 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic name to the text fields
But, the same case arrises here, as in defining number of beans. How
' [EMAIL PROTECTED]
cc:
Subject:RE: Dynamic name to the text fields
But, the same case arrises here, as in defining number of beans. How will
be
the number of beans be pre-defined??
-Anoop.
-Original Message-
From: Darryl Nortje [mailto:[EMAIL PROTECTED]]
Sent
Hi All,
I am a newbie to struts and taglibs, was trying to display text fields
dynamically using html:iterator. Below is the scenario I was
trying out.
This is the snippet from my jsp to display the text fields.
logic:iterate id=UserDetail name=user property=userDetails
On 8/30/2002 at 7:28 PM Anoop wrote:
Hi All,
I am a newbie to struts and taglibs, was trying to display text fields
dynamically using html:iterator. Below is the scenario I was
trying out.
You may be in luck, I've been recently trying to learn how to do something
similar myself.
snip/
Don,
Don't hestitate to submit this through Bugzilla when you are ready.
-Ted.
Donald Ball wrote:
On 8/30/2002 at 7:28 PM Anoop wrote:
Hi All,
I am a newbie to struts and taglibs, was trying to display text fields
dynamically using html:iterator. Below is the scenario I was
trying
9 matches
Mail list logo