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 javax. 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 javax. 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 javax. 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 javax. Return a String value that uniquely
identifies this |
| public Map | getQueryURLParameters(FacesContext
the context)FacesContext for this request.Implements abstract javax. 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 javax. 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 javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. Return a String value that uniquely
identifies this | |
| getQueryURLParameters | back to summary |
|---|---|
| public Map Implements abstract javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. Methods that append the ClientWindow to generated
URLs must call this method to see if they are permitted to do so. If
| |