Interface DataAttributeTagDeclaration


  • public interface DataAttributeTagDeclaration
    Add an data attribute on the UIComponent associated with the closest parent UIComponent custom action. Data attributes will be passed through the renderers into the DOM of the user agent and can be used by scripts.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setName​(jakarta.el.ValueExpression name)
      The name of the attribute in the parent component.
      void setValue​(jakarta.el.ValueExpression value)
      The value of the attribute in the parent component.
    • Method Detail

      • setName

        void setName​(jakarta.el.ValueExpression name)
        The name of the attribute in the parent component.
      • setValue

        void setValue​(jakarta.el.ValueExpression value)
        The value of the attribute in the parent component.