I am trying to implement security using users and roles as outlined in
Freddy's book.  Unfortunately, I am having trouble getting the checkbox
values passed back to the action bean.

I have a List of Users that is dynamic.  Each users has a List of Roles as
well. 

public class UserVO {
        private String loginName;
        private String name;
        private boolean disabled;
        private List<RoleVO> roles;

/* getters and setters */

}

public class RoleVO {
        private Long id;
        private Long parentId;
        private String name;
        private String description;

/* getters and setters */

}

I am wondering if the reason for this has to do with my using Hibernate and
the Book examples use JPA?  Why are the selected Roles not populated in the
action bean?

Is this because the JPA Annotations can identify the object and retrieve it
from the database on an as needed basis?  If so, how do I emulate this using
Hibernate? If not, does anyone have any idea how to proceed?

Thank you very much in advance for your time.

-- 
View this message in context: 
http://www.nabble.com/Checkbox-List-Issue-tp23855054p23855054.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to