incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duong BaTien <duong.bat...@gmail.com>
Subject Re: TrinidadFilter has not been installed
Date Fri, 22 Dec 2006 05:14:55 GMT
What did i do wrong here? I start to explore Trinidad with this page
http://wiki.apache.org/myfaces/Facelets_with_Trinidad
But get the warning "The TrinidadFilter has not been installed".

The libraries include Shale 1.0.4 (core, dialog, remoting, spring,
validator, view), Spring 2.0 (aop, beans, context, core,web), tomahawk
1.1.5.jar, trinidad stable Dec-06 (api, impl).

Here is my faces-config:

 <application>
    <message-bundle>
      com.dbgroups.psi.PsiBundle
    </message-bundle>
    <locale-config>
        <default-locale>en</default-locale>
        <supported-locale>en</supported-locale>
    </locale-config>
    <!-- Use the Trinidad RenderKit -->
    <default-render-kit-id>
        org.apache.myfaces.trinidad.core
    </default-render-kit-id>
  </application>

Here is my web.xml

  <context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
     <param-value>com.sun.facelets.FaceletViewHandler</param-value>
  </context-param>
    <context-param>
	<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
	<param-value>.xhtml</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
    </context-param>
    <context-param>
<param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name>
      <param-value>all</param-value>
    </context-param>
    <context-param>
<param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name>
      <param-value>false</param-value>
    </context-param>
    <context-param>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
      <param-value>true</param-value>
    </context-param>
    <context-param>
 <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
      <param-value>session</param-value>
    </context-param>
    <filter>
      <filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
   </filter>
    <filter-mapping>
      <filter-name>trinidad</filter-name>
      <servlet-name>faces</servlet-name>
    </filter-mapping>
    <servlet>
        <servlet-name>faces</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    </servlet>
    <servlet>
      <servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>resources</servlet-name>
      <url-pattern>/public/budhnet.com/trinidad/*</url-pattern>
    </servlet-mapping>
  <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>
        /WEB-INF/xmlConfig/faces-bean.xml,
        /WEB-INF/xmlConfig/faces-navigation.xml
    </param-value>
    <description>Comma separated list of  config files.</description>
  </context-param>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
        /WEB-INF/xmlConfig/psi.xml
    </param-value>
  </context-param>
    <listener>
      <listener-class>
org.springframework.web.context.ContextLoaderListener
      </listener-class>
    </listener>

Thanks



Mime
View raw message