Unpack the tomahawk jarfile and copy the javascript/css files used by
jsCookMenu into a directory in your webapp. Then in your jsp pages
ensure the appropriate tags are output to load those files directly from
your webapp.
If you're not using the ExtensionsFilter then obviously you cannot
retrieve the necessary resources from the tomahawk jar (that's what the
ExtensionsFilter does).
Regards,
Simon
Jörg Herbst wrote:
Thanks, that worked.
But encountered the next Problem. I've tried to add the resources (.js
and .css) via HTML code (without using a faceslet), but the links seems
to change from request to request. Is there any way to add .css and .js
in static way for a jsCookMenu?
Did you try the following? If this is missing from the wiki page,
please add it in.
<context-param>
<param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
<param-value>false</param-value>
</context-param>
On 4/26/07, Jörg Herbst <[EMAIL PROTECTED]> wrote:
Hi,
I've got a JSF application which is pretty performance critical. For
this reason I'm trying to get rid of the tomahawk extension filter. I've
tried to reused it using the desciption at
http://wiki.apache.org/myfaces/Performance. But when I display a site
using the jsCookMenu I alway get a message that the extension filter is
not well configured and the whole page is not displayed.
Is there a way to use the jsCookMenu without the extension filter?
Thanks
Joerg