[jboss-user] [JBoss Seam] - Re: Does data In(jection) occur before or after @Create

harpritt do-not-reply at jboss.com
Tue Jul 17 19:07:15 EDT 2007


Hi

I have this SFSB that  handles a two page conversations, assigns a value to the crId and also kicks off a @CreateProcess when the @End on the conversation is called.

@Stateful
  | @Name("createChangeRequest")
  | public class CreateChangeRequestAction implements CreateChangeRequest {
  | 
  |     @In(required = false)
  |     @Out(scope = BUSINESS_PROCESS, required = false)
  |     ChangeRequest changerequest;
  | 
  |     
  |     @Out(scope = BUSINESS_PROCESS, required = false)
  |     String crId;


And this SFSB that takes care of the process and tries to call the crId that was added to the Business Process scope above.

for some reason the crID never seems to get added to the BP context.... until i restart the server.....


@Stateful
  | @Name("ticketSystem")
  | public class TicketSystemAction implements TicketSystem {
  | 
  |     @In()
  |     @Out()
  |     String crId;
  | 
  |     @In()
  |     @Out()
  |     ChangeRequest changerequest;
  | 
  |     @In(required = false)
  |     RequestState requestState;
  | 
  |    @Create
  |    public void findit(){
  |    System.out.println("crId");
  |    }


it really bugs me when i cant get somthing to work....  OCD boy right here!

Cheers for any help

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

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



More information about the jboss-user mailing list