Can u tell me about stripes select collection
How the value is assigned to
Person{
Set<Roles> roles;
...with setter getter
}
RegActionBean{
Person person;
. with setter getter;
@Defaulthandler
{
Set<Roles>availableroles=rolesservice.findall()//I get the roles here
forwardResolution (JSP Page)
}
}
Jsp page I have
<tr>
<th><stripes:label for="person.roles" />:</th>
<td><stripes:select name="person.roles" >
<stripes:option
formatType="Set">--Roles--</stripes:option>
<stripes:options-collection
collection="${actionBean.
availableroles }" value="role_id"
label="ROLES" />
</stripes:select> </td>
</tr>
="${actionBean. availableroles }" I am getting Set<Roles>
But after the form is submitted and person is instantiated all the other
properties are getting set but except Person.roles.. it is null
With thanks
Vyman
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users