myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ratondeau <m.gra...@financeandeconomics.com>
Subject JSF RI 1.2 + Facelets + Tomahawk problem
Date Tue, 14 Nov 2006 14:51:42 GMT

Hi there,

I have 2 questinons concernig the combination of the JS-RI 1.2 + Facelets
1.1.9  + Tomahawk Components 1.1.3.

Does these components run well together or does anyone have some experiance
running these components? Maybe I should use the old 1.1 JSF Implementation
MyFaces instead...

I tried these Components and it seemed to work at first with the calendar
element but now I always get the following error message:

ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages
not covered. Please see:
http://myfaces.apache.org/tomahawk/extensionsFilter.html

doing the thinges described on that page doesn`t change anything.

How must I configure the web.xml to run the application?

Thanks 

Matt


My web.xml:

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
 <description>Facelets StarterKit</description>
 <display-name>fineo_elso</display-name>
 
 <context-param>
  <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  <param-value>.xhtml</param-value>
 </context-param>
 
 <context-param>
  <param-name>facelets.REFRESH_PERIOD</param-name>
  <param-value>2</param-value>
 </context-param>
 
 <context-param>
  <param-name>facelets.DEVELOPMENT</param-name>
  <param-value>true</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>com.sun.faces.validateXml</param-name>
  <param-value>true</param-value>
 </context-param>
 
 <context-param>
  <param-name>com.sun.faces.verifyObjects</param-name>
  <param-value>true</param-value>
 </context-param>
 
 <context-param>
  <param-name>org.ajax4jsf.SKIN</param-name> 
  <param-value>DEFAULT</param-value> 
  </context-param>
 
 <context-param>
  <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  <param-value>com.sun.facelets.FaceletViewHandler</param-value>
 </context-param>
 
  <!--  servlet declaration -->
     <context-param>
        <param-name>facelets.LIBRARIES</param-name>
        <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
    </context-param>
 
  <!--  servlet declaration -->
 <servlet>
  <servlet-name>Faces Servlet</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
 </servlet>

 <servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
  <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>
 
 <login-config>
  <auth-method>BASIC</auth-method>
 </login-config>

<!-- Extensions Filter -->


???


 
 <filter>
  <display-name>Ajax4jsf Filter</display-name> 
  <filter-name>ajax4jsf</filter-name> 
  <filter-class>org.ajax4jsf.Filter</filter-class> 
 </filter>
 
 <filter-mapping>
  <filter-name>ajax4jsf</filter-name> 
  <servlet-name>Faces Servlet</servlet-name> 
  <dispatcher>REQUEST</dispatcher> 
  <dispatcher>FORWARD</dispatcher> 
  <dispatcher>INCLUDE</dispatcher> 
 </filter-mapping>

</web-app>


-- 
View this message in context: http://www.nabble.com/JSF-RI-1.2-%2B-Facelets-%2B-Tomahawk-problem-tf2629892.html#a7339021
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message