Hi,

I've been trying to use the jscookMenu as following,

        <h:form>
                <t:jscookMenu layout="hbr" theme="ThemeOffice">
                <%/* Availaible jscookMenu themes: ThemeIE, 
ThemeMiniBlack,ThemeOffice, ThemePanel
                     Availaible jscookMenu layout: hbr, hbl, hur, hul, 
vbr,vbl, vur, vul
                     respect to Heng Yuan 
http://www.cs.ucla.edu/~heng/JSCookMenu
                */%>
                        <t:navigationMenuItems 
value="#{appMenuBean.navItems}" />
                </t:jscookMenu>
        </h:form>

then getting the next exception:
java.lang.IllegalStateException: ExtensionsFilter not correctly 
configured. JSF
mapping missing. JSF pages not covered. Please see: 
http://myfaces.apache.org/to
mahawk/extensionsFilter.html
....

I already checked my web.xml to make sure is as the documentation (i 
removed others for brevity):
....
        <context-param>
        <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name
>
        <param-value>true</param-value>
    </context-param>
....

<filter>
                <filter-name>MyFacesExtensionsFilter</filter-name>
                
<!--filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class-->
                <filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
            <init-param>
                <param-name>maxFileSize</param-name>
                <param-value>20m</param-value>
                <description>Set the size limit for uploaded files.
                    Format: 10 - 10 bytes
                            10k - 10 KB
                            10m - 10 MB
                            1g - 1 GB
                </description>
            </init-param>
        </filter>
....

        <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
        </filter-mapping>
 
        <filter-mapping>
            <filter-name>MyFacesExtensionsFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
        </filter-mapping>
....
        <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>
....


I have tried both:
org.apache.myfaces.webapp.filter.ExtensionsFilter   AND
org.apache.myfaces.component.html.util.ExtensionsFilter
BUT either working.

Also,
with this context parameter:
org.apache.myfaces.CHECK_EXTENSIONS_FILTER set to true, i got the 
exception previously mentioned.
If I set to false, I get a JS error on the client.

I am using:
myfaces-core-1.1.4
tomahawk-1.1.3
myfaces-impl-1.1.4.jar

Please any help, greatly appreciate.

Thanks,
Gabs


*************************** IMPORTANT
NOTE***************************** The opinions expressed in this
message and/or any attachments are those of the author and not
necessarily those of Brown Brothers Harriman & Co., its
subsidiaries and affiliates ("BBH"). There is no guarantee that
this message is either private or confidential, and it may have
been altered by unauthorized sources without your or our knowledge.
Nothing in the message is capable or intended to create any legally
binding obligations on either party and it is not intended to
provide legal advice. BBH accepts no responsibility for loss or
damage from its use, including damage from virus.
************************************************************************

Reply via email to