Class PassThroughAttributeHandler

java.lang.Object
jakarta.faces.view.facelets.TagHandler
com.sun.faces.facelets.tag.TagHandlerImpl
com.sun.faces.facelets.tag.faces.core.PassThroughAttributeHandler
All Implemented Interfaces:
AttributeHandler, FaceletHandler

public final class PassThroughAttributeHandler extends TagHandlerImpl implements AttributeHandler
Sets the specified name and attribute on the parent UIComponent. If the "value" specified is not a literal, it will instead set the ValueExpression on the UIComponent.

See tag documentation.

Author:
Jacob Hookom
See Also:
  • Constructor Details

    • PassThroughAttributeHandler

      public PassThroughAttributeHandler(TagConfig config)
      Parameters:
      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
    • getAttributeName

      public String getAttributeName(FaceletContext ctxt)
      Description copied from interface: AttributeHandler

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

      Specified by:
      getAttributeName in interface AttributeHandler
      Parameters:
      ctxt - the FaceletContext for this view execution
      Returns:
      the literal string value of the attribute name after evaluating EL