This is how I got Tomahawk to work within a Seam project: In WEB-INF/web.xml:
| <!-- | param-value can point to any location | The taglib is distributed; you don't need to create your own | --> | <context-param> | <param-name>facelets.LIBRARIES</param-name> | <param-value> | /WEB-INF/jsf/tlds/tomahawk.taglib.xml; | </param-value> | </context-param> | Then I put the MyFaces Tomahawk jar in the following folder: [When using just the Tomcat server] %TOMCAT_HOME%/shared/lib [When using the JBoss server] %JBOSS_HOME%\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs folder | *For the JBoss server, I added a reference to the jar in the server\default\deploy\jbossweb-tomcat55.sar\conf | <!-- this was there already --> | <init-param> | <description>MyFaces tlds</description> | <param-name>tagLibJar0</param-name> | <param-value>jsf-libs/myfaces-impl.jar</param-value> | </init-param> | <!-- I added the following --> | <init-param> | <description>MyFaces tlds</description> | <param-name>tagLibJar1</param-name> | <param-value>jsf-libs/tomahawk.jar</param-value> | </init-param> There is another post somewhere in this forum that talks about why we put the jar in the server container instead of our projects. Something to do with the priority that the jar is called in. For that same reason we keep all of our JSF jars outside of our projects. Personally, I would rather have them within my project but it seams that the servers are a little finiky about it. --Matt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910741#3910741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910741 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
