StateManager sm = getStateManager();
UIApplication uiApp = sm.restoreUIRootComponent(context);
context.setUIApplication(uiApp);
if (!context.isResponseComplete()) {
UIPortletApplication uiPortletApp = (UIPortletApplication) uiApp;
uiPortletApp.processRender(this, context);
}
uiApp.setLastAccessApplication(System.currentTimeMillis());
// Store ui root
sm.storeUIRootComponent(context);