Hi All,
I am using IBM RAD 6 for building my JSF. I would like to use Spring to integrate with. Based on the following document http://static.springframework.org/sp...riableresolver
and http://forum.springframework.org/vie...&highlight=jsf , I have the following setup.
In faces-config.xml
<application>
<variable-resolver>org.springframework.web.jsf.DelegatingVar iableResolver</variable-resolver>
</application>
In web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
</listener>
In addition I have upgrades my RAD 6 to include fixpack.
However, I get the following error:
java.lang.NullPointerException: Argument Error: One or more parameters are null. VariableResolver null at com.sun.faces.application.ApplicationImpl.setVaria bleResolver(ApplicationImpl.java:434)
at com.ibm.ws.jsf.configuration.FacesConfigParser.ini tializeApplication(FacesConfigParser.java:868)
at com.ibm.ws.jsf.configuration.FacesConfigParser.ini tializeConfiguration(FacesConfigParser.java:334)
Any ideas would be appreciated. TIA.


Reply With Quote