Class PassThroughElementComponentHandler

All Implemented Interfaces:
FaceletHandler

public class PassThroughElementComponentHandler extends ComponentHandler
  • Constructor Details

    • PassThroughElementComponentHandler

      public PassThroughElementComponentHandler(ComponentConfig config)
  • Method Details

    • getRequiredPassthroughAttribute

      protected final TagAttribute getRequiredPassthroughAttribute(String localName) throws TagException
      Throws:
      TagException
    • createComponent

      public UIComponent createComponent(FaceletContext ctx)
      Description copied from class: ComponentHandler

      Subclasses that wish to take over the task of instantiating the UIComponent instance corresponding to this tag handler my override this method to do so. A null return from this method will cause the TagHandlerDelegate for instance to create the component instead.

      Overrides:
      createComponent in class ComponentHandler
      Parameters:
      ctx - the FaceletContext for this view execution
      Returns:
      the newly created UIComponent
    • onComponentCreated

      public void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
      Description copied from class: ComponentHandler

      This method is guaranteed to be called after the component has been created but before it has been populated with children.

      Overrides:
      onComponentCreated in class ComponentHandler
      Parameters:
      ctx - the FaceletContext for this view execution
      c - the UIComponent that has just been created.
      parent - the parent UIComponent of the component represented by this element instance.