org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class ClientSideWindowHandler
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowHandler
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.ClientSideWindowHandler
- All Implemented Interfaces:
- Serializable, LifecycleAwareWindowHandler, WindowHandler
@Alternative
@ApplicationScoped
public class ClientSideWindowHandler
- extends DefaultWindowHandler
- implements LifecycleAwareWindowHandler
WindowHandler which uses JavaScript to store the windowId.
- Author:
- Mark Struberg, Jakob Korherr
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientSideWindowHandler
protected ClientSideWindowHandler()
ClientSideWindowHandler
@Inject
protected ClientSideWindowHandler(WindowContextConfig config)
encodeURL
public String encodeURL(String url)
- Specified by:
encodeURL
in interface WindowHandler
- Overrides:
encodeURL
in class DefaultWindowHandler
restoreWindowId
public String restoreWindowId(javax.faces.context.ExternalContext externalContext)
- Specified by:
restoreWindowId
in interface WindowHandler
- Overrides:
restoreWindowId
in class DefaultWindowHandler
beforeLifecycleExecute
public void beforeLifecycleExecute(javax.faces.context.FacesContext facesContext)
- Description copied from interface:
LifecycleAwareWindowHandler
- Is called before the execute portion of the JSF lifecycle starts.
If this method sets responseComplete() to true, the lifecycle won't be started.
- Specified by:
beforeLifecycleExecute
in interface LifecycleAwareWindowHandler
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.