Saturday, October 18, 2008
Allow parameters on jsf expression
The expression factory from sun and apache doesn't allow parameters to be passed on jsf expression. For example:
#{bean.delete(id)}
Being able to do this allows more flexibility because you won't need to pass your id params as hidden input field.
This expression can only be enabled with the use of jboss el expression factory. To enable it, add the following to your web.xml:
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
</context-param>






















