Re: Binding a map of collection
tm_jee <[email protected]> Wed, 06 Dec 2006 07:10:54 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <12392067.1165410685335.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I think you can
[code]
<ww:checkboxlist name="options" list="%{attributes['s1']}" .... />
or
<ww:checkboxlist name="options" list="%{attributes.s1}" .... />
[/code]
[code]
public class MyAction extends ActionSupport {
public Map<String, List<String>> getAttributes() { ... }
....
}
[/code]
[code]
public class SubmissionAction extends ActionSupport {
public void setOptions(List<String> options) { ... }
....
}
[/code]
woudl this be what you are after?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52144&messageID=105494#105494
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]