Re: Help: How do I iterate and submit to the server? works with struts not
Rainer Hermanns <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <7259385.1148243845206.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I am not yet sure if I get what you want to do... Can you please paste your action's code as well? Do you want to add a ne item to the list or just want to update the size of the list? To add another item to the list you might want to do this (based on your JSP form code): o rename the textfield from size to toyName o add a getter/setter for the toyName attribute like this: setToyName(String toyName) to your action o in your save method add the value to the list o do whatever you need to do with the list of toy names (persist, store in session, ...) o you are done hth, Rainer --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=31674&messageID=61391#61391 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]