jsf.push.init() script and decodes any client
behaviors triggered by UIWebsocket.
UIWebsocket
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | decode(FacesContext
FacesContext for the request we are processingUIComponent to be decoded.Overrides com. |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingUIComponent to be renderedOverrides com. jsf.push.init() function if necessary.
|
| private static String | getBehaviorScripts(FacesContext context, UIWebsocket websocket)
Helper to collect all client behavior scripts of websocket into a string representing a JS object. |
| public void | processEvent(ComponentSystemEvent
the event)ComponentSystemEvent instance that
is being processed.Implements javax. WebsocketFacesListener if necessary.
|
| RENDERER_TYPE | back to summary |
|---|---|
| public static final String RENDERER_TYPE | |
| SCRIPT_INIT | back to summary |
|---|---|
| private static final String SCRIPT_INIT | |
| WebsocketRenderer | back to summary |
|---|---|
| public WebsocketRenderer() | |
| decode | back to summary |
|---|---|
| public void decode(FacesContext context, UIComponent component) Overrides com. Decode all client behaviors.
| |
| encodeEnd | back to summary |
|---|---|
| public void encodeEnd(FacesContext context, UIComponent component) throws IOException Overrides com. Render
| |
| getBehaviorScripts | back to summary |
|---|---|
| private static String getBehaviorScripts(FacesContext context, UIWebsocket websocket) Helper to collect all client behavior scripts of websocket into a string representing a JS object. | |
| processEvent | back to summary |
|---|---|
| public void processEvent(ComponentSystemEvent event) throws AbortProcessingException Implements javax. After adding component to view, subscribe
| |