Huber, Michael wrote:
Hello there everybody,

I have a Problem with the jsfcookMenu component.

If I use it, i get a javascript error "cmThemeOffice is not defined (same if I use 
another Theme, e.g. "cmThemeIE is not defined").

The extensions are set up correctly, at least it seems like that to me.

Do you have a filter-mapping for the extensions filter? It isn't shown in the config file contents you included...

Strangely, though, it would appear that the cmDraw javascript function has* been found, which implies that the JSCookMenu.js script *was* loaded, though not the theme javascript files which are also in the tomahawk jar.


----------------------------- extensions definition in web.xml 
---------------------
    <filter>
        <filter-name>extensionsFilter</filter-name>
        
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>2m</param-value>
            <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                        10k - 10 KB
                        10m - 10 MB
            </description>
        </init-param>
    </filter>

     <!-- Standard Faces Servlet Configuration -->
    <servlet>
        <servlet-name>faces</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

      <!-- Front Controller Servlet Mapping -->
    <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>*.html</url-pattern>
----------------------------- extensions definition in web.xml 
---------------------

Regards,

Simon

Reply via email to