Class HtmlBasedComponent.ExtraCtrl

java.lang.Object
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
All Implemented Interfaces:
PrologAllowed
Enclosing class:
HtmlBasedComponent

protected class HtmlBasedComponent.ExtraCtrl extends Object implements PrologAllowed
A utility class to implement HtmlBasedComponent.getExtraCtrl(). It is used only by component developers.

If a component requires more client controls, it is suggested to override HtmlBasedComponent.getExtraCtrl() to return an instance that extends from this class.

  • Constructor Details

    • ExtraCtrl

      protected ExtraCtrl()
  • Method Details

    • setPrologContent

      public void setPrologContent(String prolog)
      Description copied from interface: PrologAllowed
      Sets the prolog content. It is the content generated before the child components, if any.

      Default: none.

      Note: the prolog is one-shot only. Once the component is generated, the prolog is gone.

      Specified by:
      setPrologContent in interface PrologAllowed