Class FacetHandler

All Implemented Interfaces:
FaceletHandler, FacetHandler

public final class FacetHandler extends TagHandlerImpl implements FacetHandler
Register a named facet on the UIComponent associated with the closest parent UIComponent custom action. See tag documentation.
Version:
$Id$
Author:
Jacob Hookom
  • Field Details

  • Constructor Details

    • FacetHandler

      public FacetHandler(TagConfig config)
  • Method Details

    • apply

      public void apply(FaceletContext ctx, UIComponent parent) throws IOException
      Description copied from interface: FaceletHandler

      Process changes on a particular UIComponent

      Specified by:
      apply in interface FaceletHandler
      Parameters:
      ctx - the current FaceletContext instance for this execution
      parent - the parent UIComponent to operate upon
      Throws:
      IOException - if unable to load relativePath
    • getFacetName

      public String getFacetName(FaceletContext ctxt)
      Description copied from interface: FacetHandler

      Returns the resolved literal String value of the facet name after evaluating EL.

      Specified by:
      getFacetName in interface FacetHandler
      Parameters:
      ctxt - the FaceletContext for this view execution
      Returns:
      the resolved literal String value of the facet name.