AnsweredAssumed Answered

ExecutionContext in renderer.

Question asked by raweck on May 27, 2008
How to get execution context in org.alfresco.web.ui.common.renderer.MyRenderer in Web-Client project?

MyRenderer extends BaseRenderer

I tried:
executionContext = ExecutionContext.currentExecutionContext();
but I receive null value  :?

I try to write renderer for my component generator which can access workflow resources:
JBPMNode workflowPackage = (JBPMNode)executionContext.getVariable(mapQNameToName(WorkflowModel.ASSOC_PACKAGE));
and to do it I need executionContext.

Should it work? Should I do it in another way or maybe it is not possible to get execution context in renderer class?