htere's a library just for that, it's called Spring integration library... it might help
rgds
marco
On 3/7/06, Cagatay Civici <
[EMAIL PROTECTED]> wrote:
Hi,
Your configuration seems ok at first look, before you add this configuration to your faces-config and web descriptor was everything ok? Also tomcat logs may help more.
Cagatay,On 3/7/06, net connect <[EMAIL PROTECTED]> wrote:Dear all,
I am trying to integrate MyFaces and Spring as suggested at Spring reference documentation. I am using
org.springframework.web.jsf.DelegatingVariableResolver
I have followed two steps as suggested by documentation viz.
-------------The <context-param>:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext*.xml</param-value>
</context-param>The <listener>:
<listener>--------------
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
and
---------------<faces-config></faces-config>
<application>
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>en</supported-locale>
<supported-locale>es</supported-locale>
</locale-config>
<message-bundle>messages</message-bundle>
</application>
----------------
But its not working. I am getting following tomcat error message:
------------------
Mar 7, 2006 3:05:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
-------------------
Does anyone knows whats wrong here and solution for the same.
Also any pointer to working example will be gret help !
I am using Spring 2.0-m1 and MyFaces 1.1.1
Thanks and Regards,
--balaji

