@ApplicationScoped public class WindowContextManagerObserver extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INITIAL_REDIRCT_PERFORMED_KEY |
Constructor and Description |
---|
WindowContextManagerObserver() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(javax.faces.event.PhaseEvent phaseEvent,
RequestTypeResolver requestTypeResolver,
EditableWindowContextManager windowContextManager,
WindowContextConfig windowContextConfig,
JsfModuleConfig jsfModuleConfig) |
protected void |
tryToRestoreWindowContext(javax.faces.event.PhaseEvent phaseEvent,
EditableWindowContextManager windowContextManager,
WindowHandler windowHandler,
WindowContextConfig windowContextConfig)
tries to restore the window-id and the window-context as early as possible
|
public static final String INITIAL_REDIRCT_PERFORMED_KEY
protected void tryToRestoreWindowContext(@Observes@BeforePhase(value=RESTORE_VIEW) javax.faces.event.PhaseEvent phaseEvent, EditableWindowContextManager windowContextManager, WindowHandler windowHandler, WindowContextConfig windowContextConfig)
phaseEvent
- the current jsf phase-eventwindowContextManager
- the current window-context-managerwindowHandler
- current window-handlerwindowContextConfig
- the active window-context-configprotected void cleanup(@Observes@AfterPhase(value=RESTORE_VIEW) javax.faces.event.PhaseEvent phaseEvent, RequestTypeResolver requestTypeResolver, EditableWindowContextManager windowContextManager, WindowContextConfig windowContextConfig, JsfModuleConfig jsfModuleConfig)
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.