Francesco Consumi wrote:
Quoting Martin Marinschek <[EMAIL PROTECTED]>:
If it isn't this, try out the examples if they are working with your
version of MyFaces!
I'm still trying to use jscookmenu in my app without including js code.
I've studied simple.war web.inf file, and I'm trying to use
extensionsFilter in my app. But, if I include the following rows:
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
.....snip.........
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
I obtain this error:
GRAVE: Faces context not found. getResponseWriter will fail. Check if
the FacesServlet has been initialized at all in your web.xml.
I'm trying with myfaces-20050926->myfaces-all.jar . The simple.war
webapp works well.
any suggestion ? thanks.
--
Francesco Consumi
Francesco,
I got problem using myfaces-all.jar (actually I can't remember if it was
the same error you are experiencing) so I replaced it with the separate
jars (available in the 1.1.0 binary distribution as well) and the menu
works.
Since I did the same error, I also remember you that you have to define
antoher filter-mapping in order to intercept the jscookmenu resources. I
suggest you reading
http://www.mail-archive.com/users%40myfaces.apache.org/msg09082.html .
Bye.
Marco