-
1. Re: tomahawk in booking example
hoetschmann Oct 30, 2005 7:01 AM (in response to marius.oancea)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...
Regards
hoetschmann -
2. Re: tomahawk in booking example
marius.oancea Oct 30, 2005 9:12 AM (in response to marius.oancea)I use the version that commes with JBoss 4.0.3 (1.1.0). I will try also version 1.1.1
-
3. Re: tomahawk in booking example
andrewa Dec 1, 2005 1:57 AM (in response to marius.oancea)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)
The key is to add the tomahawk ExtensionsFilter, which injects the appropriate resources (ie. javascript includes) into the page. Note that this has dependencies on some commons jars like commons-fileupload.
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>
-
4. Re: tomahawk in booking example
andyd Dec 2, 2005 7:42 PM (in response to marius.oancea)I have the Calendar working with this config, but cannot get jsCookMenu working. Any ideas?
-
5. Re: tomahawk in booking example
andrewa Dec 4, 2005 1:40 PM (in response to marius.oancea)this is a known myfaces/facelets issue as detailed in this thread:
http://www.mail-archive.com/users@myfaces.apache.org/msg11920.html
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>