JSF 2.x Tip of the Day: Programmatically Creating EL ValueExpression
A common need is to create a ValueExpression for use in binding a JSF component attribute to a value in the JSF/CDI managed beans.
This is a convenience method that I have created to create these expressions.
Here is an example of how to use it.
In this example I bind the <h:commandLink/> value programmatically to the @ManagedBean called IndexBean value called columnHeader.
No comments:
Post a Comment