if(this.beforeAfterFacesRequestBroadcaster != null)
{
BeanManagerProvider beanManagerProvider = BeanManagerProvider.getInstance();
EditableWindowContextManager windowContextManager =
beanManagerProvider.getContextualReference(EditableWindowContextManager.class);
WindowHandler windowHandler =
beanManagerProvider.getContextualReference(WindowHandler.class);
WindowContextConfig windowContextConfig =
beanManagerProvider.getContextualReference(WindowContextConfig.class);
ConversationUtils.tryToRestoreTheWindowIdEagerly(facesContext,