public interface ClientWindow
API to interact with the window/browser tab handling. This originally got implemented in Apache MyFaces CODI which was the basis for the respective feature in JSF-2.2. We now orientate us a bit on the JSF-2.2 API for making it easier to provide this feature for JSF-2.0, JSF-2.1 and also JSF-2.2 JSF implementations.
Please not that in JSF-2.2 a javax.faces.lifecycle.ClientWindow
instance gets created for each and every request, but in DeltaSpike our
ClientWindow instances are most likely @ApplicationScoped.
| Modifier and Type | Method and Description |
|---|---|
String |
getWindowId(javax.faces.context.FacesContext facesContext)
Extract the windowId for the current request.
|
String getWindowId(javax.faces.context.FacesContext facesContext)
ClientWindowConfig.ClientWindowRenderMode and
after consulting ClientWindowConfig we will first send an
intermediate page if the request is an initial GET request.facesContext - for the requestnull if there is no window assigned.Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.