com.ibm.xsp.component
Interface FacesComponent

All Known Implementing Classes:
UICallback, UIDataPanelBase, UIFileDownload, UIInclude, UIIncludeComposite, UIInputCheckbox, UIInputEx, UIInputHidden, UIInputRadio, UIInputRichText, UIInputText, UIInputTextarea, UIOutputEx, UIOutputFormat, UIOutputLabel, UIOutputLink, UIOutputScript, UIOutputText, UIPager, UIPanelEx, UIPassThroughTag, UIPassThroughText, UIRepeat, UIRepeatContainer, UIViewColumn, UIViewColumnHeader, UIViewColumnText, UIViewPager, UIViewPanel, UIViewRootEx, UIViewRootEx2, UIViewTitle, XspCallback, XspFileDownload, XspInputCheckbox, XspInputHidden, XspInputRadio, XspInputRichText, XspInputText, XspInputTextarea, XspOutputLabel, XspOutputLink, XspOutputScript, XspOutputText, XspPager, XspViewColumn, XspViewColumnHeader, XspViewPanel, XspViewTitle

public interface FacesComponent

This interface is implemented by components that want to

  • Perform some initialization after they are created
  • Want to build their own children

  • Method Summary
     void buildContents(javax.faces.context.FacesContext context, FacesComponentBuilder builder)
              Build the component children and facets, the default implementation is usually:
    builder.buildAll(context, this, true); // includeFacets=true
     void initAfterContents(javax.faces.context.FacesContext context)
              Perform component initialization after it's children and facets are added.
     void initBeforeContents(javax.faces.context.FacesContext context)
              Perform component initialization before its children and facets are added.
     

    Method Detail

    initBeforeContents

    void initBeforeContents(javax.faces.context.FacesContext context)
                            throws javax.faces.FacesException
    Perform component initialization before its children and facets are added.

    Parameters:
    context -
    Throws:
    javax.faces.FacesException

    buildContents

    void buildContents(javax.faces.context.FacesContext context,
                       FacesComponentBuilder builder)
                       throws javax.faces.FacesException
    Build the component children and facets, the default implementation is usually:
    builder.buildAll(context, this, true); // includeFacets=true

    Parameters:
    context -
    builder -
    Throws:
    javax.faces.FacesException

    initAfterContents

    void initAfterContents(javax.faces.context.FacesContext context)
                           throws javax.faces.FacesException
    Perform component initialization after it's children and facets are added.

    Parameters:
    context -
    Throws:
    javax.faces.FacesException