You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ratondeau <m....@financeandeconomics.com> on 2006/11/14 15:51:42 UTC
JSF RI 1.2 + Facelets + Tomahawk problem
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.
Re: JSF RI 1.2 + Facelets + Tomahawk problem
Posted by ratondeau <m....@financeandeconomics.com>.
Hi folks,
good to know but that did not solve my configuration issue with the
extension filter at all. Any ideas?
Matt
Hi Werner,
yes - 1.2 still works with old components, for compatibility reasons,
the old API is still aboard.
regards,
Martin
On 11/14/06, Werner Punz <we...@gmx.at> wrote:
> Interesting, to my knowledge JSF 1.2 uses some incompatible API changes,
> I was not aware that mixing jsf 1.1 components and 1.2 works at all.
> (it could be possible, but there is an api breach on the jsp taglib
> level to my knowledge)
>
--
View this message in context: http://www.nabble.com/JSF-RI-1.2-%2B-Facelets-%2B-Tomahawk-problem-tf2629892.html#a7353091
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: JSF RI 1.2 + Facelets + Tomahawk problem
Posted by Martin Marinschek <ma...@gmail.com>.
Hi Werner,
yes - 1.2 still works with old components, for compatibility reasons,
the old API is still aboard.
regards,
Martin
On 11/14/06, Werner Punz <we...@gmx.at> wrote:
> Interesting, to my knowledge JSF 1.2 uses some incompatible API changes,
> I was not aware that mixing jsf 1.1 components and 1.2 works at all.
> (it could be possible, but there is an api breach on the jsp taglib
> level to my knowledge)
>
>
>
> ratondeau schrieb:
> > 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>
> >
> >
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: JSF RI 1.2 + Facelets + Tomahawk problem
Posted by Werner Punz <we...@gmx.at>.
Interesting, to my knowledge JSF 1.2 uses some incompatible API changes,
I was not aware that mixing jsf 1.1 components and 1.2 works at all.
(it could be possible, but there is an api breach on the jsp taglib
level to my knowledge)
ratondeau schrieb:
> 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>
>
>