Module org.apache.myfaces.tobago
Interface 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?
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetMode(javax.el.ValueExpression mode) Allowed values are "action", "actionListener", "actionFromValue", "isNotSet", "isSet", "valueIfSet".voidsetName(javax.el.ValueExpression name) The name of the attribute in the parent component.voidsetValue(javax.el.ValueExpression value) The value of the attribute in the parent component.
-
Method Details
-
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.
-