how to submit a collection via ww:select ?

ascat <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <22023313.1148957012011.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
<ww:select label="available" name="allroles" list="#SysInfo.sysroledefs" listKey="roleid" listValue="rolename" size="3"
	ondblclick="addto(roles,this,this.selectedIndex)"/>
	<ww:select label="assigned" name="roles" list="roles" size="3"/>
sysroledefs is a collection,my purpose is to assign values from sysroledefs to roles(muitiple roles can be assigned),so I hope roles should be a list as well.In my action,it's defined like this:
private HashMap<Character,String>  roles;
But in fact,after I submit this page,property roles is null.
so,How to do?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=32758&messageID=63443#63443

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.