context.setAttribute(PORTLET_EVENT_VALUE, portletEvent.getValue());
Event<UIComponent> uiEvent = uiApp.createEvent(portletEvent.getName(), Phase.PROCESS, context);
uiEvent.broadcast();
// Store ui root
sm.storeUIRootComponent(context);
}
finally
{
WebuiRequestContext.setCurrentInstance(parentAppRequestContext);
}