Hi Don,

What you have in you web.xml will not work.

I would suggest that you start with the web.xml from myfaces-simple war file
- and modify from there. I don't understand some of the settings myself and
the documentations in the official web pages are getting outdated, so I
can't tell you exactly what you need and what you don't.

Regards,
Yee

-----Original Message-----
From: Don Tam [mailto:[EMAIL PROTECTED] 
Sent: Friday, 28 October 2005 12:24 AM
To: [email protected]
Subject: Help with JSCookMenu

Hi,

I'm trying to get a JSCookMenu working.  It works in the simple app when 
deployed on my Tomcat 5.0 server. When I copy the exact same jsp into my 
own application, nothing is displayed and no errors are thrown.  The 
javascript is rendered if I "view page source" in my browser.  Does 
anyone know what is going on?

I have the extension mapped in web.xml like:

    <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filte
r-class>
        <init-param>
            <description>Set the size limit for uploaded 
files.</description>       
            <param-name>maxFileSize</param-name>
            <param-value>20m</param-value>           
        </init-param>
    </filter>

    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>

I am using myfaces-1.1.0's individual jars (api, impl, and tomahawk).  I 
also have all the jars with the exception of struts.jar and 
jakarta-oro.jar in my WEB-INF/lib

Thanks,

-- 
Don Tam
Manager, Software Development
(416)493-6111x143
[EMAIL PROTECTED]

Reply via email to