Schnittstelle AttributeTagDeclaration
public interface AttributeTagDeclaration
Add an attribute on the UIComponent associated with the closest parent UIComponent custom action.
You might not need this attribute. Is there a real use case any longer for this tag?
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
setMode
(javax.el.ValueExpression mode) Allowed values are "action", "actionListener", "actionFromValue", "isNotSet", "isSet", "valueIfSet".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.
-
Methodendetails
-
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) 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.
-