« Return to Thread: javax.servlet.ServletException: Error calling action method of component with id

Re: javax.servlet.ServletException: Error calling action method of component with id

by logancillo :: Rate this Message:

Reply to Author | View in Thread

thx for answering,

I need this configuration due to the fact that I glide to use together spring and JSF. With this configuration in the faces-config.xml, I am doing that spring's container is the one that manages the bean YellProxy.

my applicationContext.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN"
          " http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>
   
    <bean id="ParserSAX" class="es.yell.frontlite.parser.ParserPrincipalHandler" scope="singleton"/>
   
    <bean id="Controller" class="es.yell.frontlite.servlets.Controller" scope="singleton"/>
   
    <bean id="srvBusquedaNoxtrumService" class="es.yell.frontlite.service.impl.SrvBusquedaNoxtrumServiceImpl " scope="singleton">
        <property name="parserSAX"><ref bean="ParserSAX"/></property>
        <property name="controlador"><ref bean="Controller"/></property>
    </bean>
           
    <bean id="yellProxy" class="es.yell.frontlite.servlets.YellProxy" scope="singleton">
        <property name="servicio">
            <ref bean="srvBusquedaNoxtrumService"/>
        </property>
    </bean>
</beans>

regards!

2007/9/24, ScottBrank <scottbrank@...>:

Make sure that your facesConfig.xml has the managed bean yellProxy clearly
declared.
--
View this message in context: http://www.nabble.com/javax.servlet.ServletException%3A-Error-calling-action-method-of-component-with-id-tf4508679.html#a12866466
Sent from the MyFaces - Users mailing list archive at Nabble.com.




--
Alonso Isidoro Roman.

 « Return to Thread: javax.servlet.ServletException: Error calling action method of component with id