I'm having trouble configuring myfaces tomahawk components to work with
my Facelets + Shale environment.  Is anyone else using this combination
successfully?  I'm attempting to use the 1.1.5 Snapshot jars for myfaces
core and tomahawk.  Is anyone here using this combination successfully?

Based on instructions at the facelets wiki, this is what I've done so
far:

I've created a file named tomahawk.taglib.xml under /WEB-INF:
<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
  "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
  "http://java.sun.com/dtd/facelet-taglib_1_0.dtd";>

<facelet-taglib>
    <namespace>http://myfaces.apache.org/tomahawk</namespace>

    <tag>
        <tag-name>commandLink</tag-name>
        <component>
 
<component-type>org.apache.myfaces.component.html.ext.HtmlCommandLink</c
omponent-type>
        
<renderer-type>org.apache.myfaces.renderkit.html.HtmlLinkRenderer</rende
rer-type>
        </component>
    </tag>
</facelet-taglib>

I've registered the file in my web.xml:
...
    <context-param>
        <param-name>facelets.LIBRARIES</param-name>
        <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
    </context-param>
...

I've referenced the namespace declared in the taglib file in the root
html element of my page as such:
xmlns:t="http://myfaces.apache.org/tomahawk";

Am I missing something?

Thanks

Reply via email to