Hi Puneet,
When I re-read your original mail I notice you use DHTML to add rows, so
my approach/thoughts may not be appropriate for you.
I use DynaForms with ArrayLists of objects. In the form I use the
logic:iterate with indexed=true on the html tags. If I need to
"dynamically" add another row
On 9/21/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
As you found out there is no way of knowing the order the
browser/client will submit request parameters, so if you want to use
indexed properties in this way you need to "grow" the list to
accomodate the size of the indexed property being se
On 9/21/06, Strachan, Paul <[EMAIL PROTECTED]> wrote:
A List is an ordered collection so it doesnt make sense that the order
changes. Also, depending on which Map implementation you use ordering may
not be guaranteed.
I would basically have the index in case of indexed properties as my key.
, but I cant tell from the provided code.
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Thu 21/09/2006 7:43 PM
To: Struts Users Mailing List
Subject: Indexed Properties. Maintaining Order
Hi,
I have a no. of fields in a form arranged in a table of rows. I
As you found out there is no way of knowing the order the
browser/client will submit request parameters, so if you want to use
indexed properties in this way you need to "grow" the list to
accomodate the size of the indexed property being set.
So you could do something like the following:
publi
Hi,
I have a no. of fields in a form arranged in a table of rows. I am using
indexed properties for these fields. The number of these fields isn't known
to me at the time of page loading for which I have used some DHTML to
properly add the fields. And all the values are getting submitted.
Now my p
6 matches
Mail list logo