[jboss-user] [JBoss Seam] - Re: Always assign to a given actor

limousyf do-not-reply at jboss.com
Fri Jun 8 11:06:40 EDT 2007


You're right, it's much easier that way.
Just to be sure I understand it well, I can assign to anyone in the xml definition file, and for "my assigned instances" it just have to match actor.id right ?

My next question is: where do the transition look for the EL defined in the process definition ? In all contexts as usual ?
I mean, if I want to assign, not to current user boss but to a variable user managed elsewhere in the application (delegation management for example), I can just outject in the conversation/event context my user to be assigned ?


  | @Out (Scope=ScopetType.EVENT)
  | User supervisor;
  | 
  | and in the assignement:
  | 
  | #{supervisor.id}
  | 

Will this work ? I just load the wanted supervisor and outject it for BP to have it.

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

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



More information about the jboss-user mailing list