Wrapper for ClientWindow
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to
access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private ClientWindow |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ClientWindowWrapper(ClientWindow
The implementation being wrapped. wrapped)If this client window has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | decode(FacesContext
the context)FacesContext for this request.Implements abstract jakarta.
The implementation is responsible for examining the incoming request and extracting the value that must be returned
from the |
| public void | disableClientWindowRenderMode(FacesContext
the context)FacesContext for this request.Overrides jakarta. Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. |
| public void | enableClientWindowRenderMode(FacesContext
the context)FacesContext for this request.Overrides jakarta. Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. |
| public String | getId()
Implements abstract jakarta.
Return a String value that uniquely identifies this |
| public Map | getQueryURLParameters(FacesContext
the context)FacesContext for this request.Implements abstract jakarta. This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. |
| public ClientWindow | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public boolean | isClientWindowRenderModeEnabled(FacesContext
the context)FacesContext for this request.Overrides jakarta. Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. |
| wrapped | back to summary |
|---|---|
| private ClientWindow wrapped | |
| ClientWindowWrapper | back to summary |
|---|---|
| public ClientWindowWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| ClientWindowWrapper | back to summary |
|---|---|
| public ClientWindowWrapper(ClientWindow wrapped)
If this client window has been decorated, the implementation doing the decorating should push the implementation
being wrapped to this constructor. The
| |
| decode | back to summary |
|---|---|
| public void decode(FacesContext context) Implements abstract jakarta. Doc from jakarta.
The implementation is responsible for examining the incoming request and extracting the value that must be returned
from the
| |
| disableClientWindowRenderMode | back to summary |
|---|---|
| public void disableClientWindowRenderMode(FacesContext context) Overrides jakarta. Doc from jakarta.
Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method
first before rendering those URLs. The caller must call
| |
| enableClientWindowRenderMode | back to summary |
|---|---|
| public void enableClientWindowRenderMode(FacesContext context) Overrides jakarta. Doc from jakarta.
Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method
first after rendering those URLs. If
| |
| getId | back to summary |
|---|---|
| public String getId() Implements abstract jakarta. Doc from jakarta.
Return a String value that uniquely identifies this | |
| getQueryURLParameters | back to summary |
|---|---|
| public Map Implements abstract jakarta. Doc from jakarta.
This method will be called whenever a URL is generated by the runtime where client window related parameters need to
be inserted into the URL. This guarantees custom
| |
| getWrapped | back to summary |
|---|---|
| public ClientWindow getWrapped() Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| isClientWindowRenderModeEnabled | back to summary |
|---|---|
| public boolean isClientWindowRenderModeEnabled(FacesContext context) Overrides jakarta. Doc from jakarta.
Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so.
If
| |