A colleague had a problem with tomahawk libs too. The problem was, that he used version 1.0.7 of myfaces. Since he is using 1.1.0 everything works...
I use the version that commes with JBoss 4.0.3 (1.1.0). I will try also version 1.1.1
I was having similar problems with the calendar component. So this is for anyone who searches this forum looking for an answer (like I did ;o)
This is from the the myfaces examples war web.xml:
<filter> <filter-name>extensionsFilter</filter-name> <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class> </filter> <!-- Filter Mappings --> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
I have the Calendar working with this config, but cannot get jsCookMenu working. Any ideas?
this is a known myfaces/facelets issue as detailed in this thread:
So youll need the myfaces nightly or trunk and to modify your tomahawk.taglib.xml as per the thread:
<tag> <tag-name>jscookMenu</tag-name> <component> <component-type>org.apache.myfaces.JSCookMenu</component-type> <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type> </component> </tag>