Re: Action classes do not get the value of Beans
Rainer Hermanns <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <5679340.1148884657338.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
You need to use a custom AcionClassName-conversion.properties file with custom type conversion for your list.
Something like 'personTranscriptions.elements=yourpackage.Person'
should do the trick.
Have a look at the docs, this is handled under the topic "Type Conversion".
Also I think you need to change the iterator handling:
[code]
<ww:iterator value="personTranscriptions" status="status">
<tr>
<td><ww:property value="personId"/></td>
<td><ww:textfield name="%{'personTranscriptions[' + personId + '].street1'}" value="street1"/></td>
<td><ww:textfield name="%{'personTranscriptions[ + personId + ].street2'}" value="street2"/></td>
</tr>
</ww:iterator>
[/code]
hth,
Rainer
Message was edited by:
Rainer Hermanns
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=32361&messageID=63241#63241
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]