private void broadcastBeforeFacesRequestEvent(FacesContext facesContext) { lazyInit(); 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, windowContextManager, windowHandler, windowContextConfig); this.beforeAfterFacesRequestBroadcaster.broadcastBeforeFacesRequestEvent(facesContext); } }
private void broadcastBeforeFacesRequestEvent(FacesContext facesContext) { lazyInit(); 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, windowContextManager, windowHandler, windowContextConfig); this.beforeAfterFacesRequestBroadcaster.broadcastBeforeFacesRequestEvent(facesContext); } }
private void broadcastBeforeFacesRequestEvent(FacesContext facesContext) { lazyInit(); 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, windowContextManager, windowHandler, windowContextConfig); this.beforeAfterFacesRequestBroadcaster.broadcastBeforeFacesRequestEvent(facesContext); } }