hi,

I'm trying to use Apache Tobago with Shale. The problem is that my tobago
renderkit gets replaced when I access the page: [RenderKitFactoryImpl]
RenderKit with renderKitId 'tobago' was replaced.
Am I doing something wrong? I used the shale-blank example end extended that
with tobago configuration and a page with tobago components.

my web xml: listeners and servlet mapping:
  <listener>
    <listener-class>
      org.apache.commons.chain.web.ChainListener
    </listener-class>
  </listener>
  
<listener>
 
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

<listener>
   
<listener-class>org.apache.myfaces.tobago.webapp.TobagoServletContextListener</listener-class>
</listener>

  <!-- JavaServer Faces Servlet Configuration -->
  <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>3</load-on-startup>
  </servlet>
  
  <servlet>
    <servlet-name>ResourceServlet</servlet-name>
   
<servlet-class>org.apache.myfaces.tobago.servlet.ResourceServlet</servlet-class>
  </servlet>
  
  <!-- JavaServer Faces Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>
  
  <servlet-mapping>
    <servlet-name>ResourceServlet</servlet-name>
    <url-pattern>/org/apache/myfaces/tobago/renderkit/*</url-pattern>
  </servlet-mapping>
-- 
View this message in context: 
http://www.nabble.com/-newbie--How-to-use-Tobago-with-shale--tf2593954.html#a7234723
Sent from the Shale - User mailing list archive at Nabble.com.

Reply via email to