Facelet tag handler that exposes the result of a method binding as a variable. Note that this tag is deprecated since Seam 2.0 handles method resolution natively. The tag nxu:set can be used instead.
This is helpful to avoid having to define a getter on a class to get some rendering info. This is comparable to f:param or ui:param tags, but using method bindings instead of value bindings.
WARNING : the variable is only exposed inside the tag: this is a different behaviour than the c:set tag that can be closed immediately.
Example:<nxu:methodResult name="actions" value="#{webActions.getActionsList('SUBVIEW_UPPER_LIST')}"> <nxu:dataList var="action" value="#{actions}"> ... </nxu:dataList> </nxu:methodResult>
Name | Required | Type | Description |
---|---|---|---|
name | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of the variable that will be set. |
value | true | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Method binding that will be invoked to set the attribute value. |
immediate | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Boolean. Flag indicating if the method should be invoked when constructing the JSF tree. If true, the method is only once and not called again when resolving other expressions using the result variable. However, the tag will not work as expected when using request variables in its expression (like table variable). Set to "false" by default. |
Output generated by Vdldoc View Declaration Language Documentation Generator.