[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration

petemuir do-not-reply at jboss.com
Tue Oct 10 11:52:35 EDT 2006


This is covered (fairly extensively!) in the examples/reference manual.

@Name("todoList")
  | public class TodoListBean {
  | 
  | @Out(scope=SESSION)
  | User currentUser;
  | 
  | @Factory("currentUser")
  | // Continue as above
  | }

#{currentUser}

OR

@Name("todoList")
  | public class TodoListBean {
  | 
  | User currentUser;
  | 
  | public User getCurrentUser() {
  |   // Initialise currentUser
  |   return currentUser;
  | }
  | ...
  | }

#{todoList.currentUser}

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

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



More information about the jboss-user mailing list