> I have an action form that contains a map of non primative types. I want
> to integrate these in the the struts view framwork.
> My main problem is I don't see how to use nested Map types. An outline of
> the problem is below.
>
> Much Thanks
>
> We have an ActionForm with methods:
> public Map getPermissionIDMap(){}
> public void setPermissionIDMap(Map perms){}
> public void addPermissionMapping(String permID, PermissionBean
> permBean){}
>
> Where a PermissionBean has the following structure:
> public class PermissionBean{
>
> public PermissionBean(){}
> public PermissionBean(String id,String name,String accessLevel){}
>
>
> public void setPermissionID(String permID){}
> public String getPermissionID(){}
>
> public void setPermissionName(String permName){}
> public String getPermissionName(){}
>
> public void setAccessLevel(String level){}
> public String getAccessLevel(){}
> }
>
> what i want to do is set each access level based on the values of a radio
> button field and have the values automagically populated on submit.
> Is this possible?
>
> <logic:iterate id="element"
> name="editRoleForm"
> property="permissionIDMap"
> scope="request"
> type="java.util.Map.Entry">
> <!-- HELP, WHAT GOES IN THE RADIO PROPERTIES -->
> <html:radio property="" name=""/>
> <html:radio property="" name=""/>
> <html:radio property="" name=""/>
>
> </logic:iterate>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>