This content has been marked as final.
Show 1 reply
-
1. Re: Programatic SFSB instantiation and associating w/convers
stu2 Apr 19, 2007 12:31 PM (in response to stu2)Btw, what I think might be the way to do this is the following:
// get the mapping action CatalogMappingAction mappingAction = (CatalogMappingAction) Component.getInstance("catalogMapping", true); assert mappingAction != null; // associate this with the current conversation Context conversation = Contexts.getConversationContext(); conversation.set("catalogMapping", mappingAction);
Here catalogMapping is the @Name of a SFSB. It will not already be in the current conversational context. My intent is to look it up, pass some state, then have this SFSB instance available in the conversation from this point on.
Thx!