Interface AttributeTagDeclaration


  • public interface AttributeTagDeclaration
    Add an attribute on the UIComponent associated with the closest parent UIComponent custom action.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setMode​(javax.el.ValueExpression mode)
      Warning: The mode is only available when using Facelets.
      void setName​(javax.el.ValueExpression name)
      The name of the attribute in the parent component.
      void setValue​(javax.el.ValueExpression value)
      The value of the attribute in the parent component.
    • Method Detail

      • setName

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

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

        void setMode​(javax.el.ValueExpression mode)
        Warning: The mode is only available when using Facelets. Allowed values are "action", "actionListener", "actionFromValue", "isNotSet", "isSet", "valueIfSet".
        "action" (method binding) evaluate the expression to find the method binding which is referenced with the template.
        "actionListener" same as "action" but for the method signature of ActionListeners.
        "isSet" (boolean) checks, if the expression is set from the composition caller.
        "isNotSet" (boolean) negation of "isSet"
        "actionFromValue" Evaluates the ValueBinding to get an outcome set directly (no action method)
        "valueIfSet" set the attribute only if the value is set.