With JSF1.2 the <variable-resolver> element of faces configuration (faces-config.xml) has been deprecated. The new element <el-resolver> has been added and replaces <variable-resolver> in <application> element tree.
When we integrate Spring with JSF we write in our faces-config.xml as
<application>
<variable-resolver>
org.springframework.web.jsf.DelegatingVariableResolver
</variable-resolver>
</application>
But with JSF1.2 we should write and integrate Spring with JSF as
<application>
<el-resolver>
org.springframework.web.jsf.el.SpringBeanFacesELResolver
</el-resolver>
</application>
Your web.xml entries remains unchanged
Note: SpringBeanFacesELResolver is available only in Spring 2.5 API
No comments:
Post a Comment