So, in looking over 
http://anoncvs.forge.jboss.com/viewrep/JBoss/jboss-seam/src/main/org/jboss/seam/annotations/Roles.java?r=1.1,
 I would use the annotation like the following, in my case:


  | 
  | @Entity
  | @Name("user")
  | @Scope("Session")
  | @Roles("assignedUser","ownerUser")
  | public class User implements Serializable {
  | // blah
  | }
  | 
  | --------- JSF -----------
  | 
  | <h:inputText value="#{assignedUser.username}" />
  | <h:inputText value="#{ownerUser.username}" />
  | 
  | 

At this point, all three context variables are valid and will be 
auto-instantiated to the User Entity Bean, if it does not currently exist.

Am I correct in thinking that?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919565#3919565

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919565


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to