Class _WebsocketInit

All Implemented Interfaces:
PartialStateHolder, StateHolder, TransientStateHolder, ValueHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener

@JSFComponent(template=true, clazz="org.apache.myfaces.push.WebsocketInit", family="jakarta.faces.Output", type="org.apache.myfaces.WebsocketInit", defaultRendererType="org.apache.myfaces.WebsocketInit") public abstract class _WebsocketInit extends UIOutput
This component is the one that render the initialization at the end of body section. The idea is it works like a buffer that collects all markup generated by UIWebsocket and then render it at the end of body section. In that way it is possible to preserve the context and ensure the script is called when the page is loaded.
  • Field Details

    • ATTRIBUTE_COMPONENT_ID

      public static final String ATTRIBUTE_COMPONENT_ID
  • Constructor Details

    • _WebsocketInit

      public _WebsocketInit()
  • Method Details

    • getUIWebsocketMarkupList

      public List<String> getUIWebsocketMarkupList()