ideas I'm open to hearing them, but this seems to do
the trick.
Andrew
- Original Message
From: Andrew Sharpe
To: user@struts.apache.org
Sent: Mon, March 15, 2010 6:03:30 PM
Subject: Can a collection property have its changes saved back to the
ActionForm?
Hello all,
I have
Apologies all, I am editing my solution below for clarity and accuracy:
- Original Message
From: Andrew Sharpe andrewrwsha...@yahoo.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Mon, March 22, 2010 8:44:42 AM
Subject: Re: Can a collection property have its changes
will be
thankful if you share it with me
Andrew Sharpe-2 wrote:
I think you want:
logic:iterate id=book name=BookForm property=bookList
bean:write name=book property=name/
/logic:iterate
See the docs on logic:iterate for more info:
http://struts.apache.org/1.0.2/struts-logic.html#iterate
created a new arraylist and
added String property but cant show them always the same error.I'm losing my
mind i have a problem with listing array elements.I really be thankful to
you really send me a working example.i'm waiting for your reply thanks again
Andrew Sharpe-2 wrote:
Along
);
}
}
/script
Then the setNewList method gets called on the form with the new values from the
select box.
If anyone has any better ideas I'm open to hearing them, but this seems to do
the trick.
Andrew
- Original Message
From: Andrew Sharpe andrewrwsha...@yahoo.com
To: user
I think you want:
logic:iterate id=book name=BookForm property=bookList
bean:write name=book property=name/
/logic:iterate
See the docs on logic:iterate for more info:
http://struts.apache.org/1.0.2/struts-logic.html#iterate
If this still doesn't work I would recommend trying to first
Hello all,
I have a ListString collection that I am displaying in an
html:select and it is working great. The problem is that my
jsp page makes changes to that html:select control via
javascript (adds new options, removes, etc). I would like these
changes to be saved back to the ActionForm,
7 matches
Mail list logo