commandnavigation2 is already defined in the tomahawk.taglib.xml. In the
wiki (http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk), just
below the example tomahawk.taglib and the inputDate control , there is
link to the complete taglib with link name "attachment". Pls download
that one and follow the instructions in the wiki itself. Or here is the
actual link 
 
http://wiki.apache.org/myfaces-data/attachments/Use_Facelets_with_Tomaha
wk/attachments/tomahawk.taglib.xml 

-----Original Message-----
From: Christoph Lassner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 1:22 PM
To: [email protected]
Subject: Using Tomahawk panelNavigation2 with Facelets


Hello everybody,

I want to use (like the topic shows) a panelNavigation2 with Facelets. I
already downloaded the tomahawk.taglib.xml as described here
(http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk), but the
commandNavigation2 tag is not defined there. I need that one for
functionality. I tried to add it myself, but it didn't work! To do so, I
added this component to faces-config.xml:

    <component>
        <component-type>org.apache.myfaces.HtmlCommandNavigation2</
component-type>
        <component-class>
org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem<
/
component-class>
    </component>

and then added this to the tomahawk.taglib.xml:
    <tag>
        <tag-name>commandNavigation2</tag-name>
        <component>
            <component-type>org.apache.myfaces.HtmlCommandNavigation2</
component-type>
        </component>
    </tag>

However, it still didn't work! Any ideas?

Thanks a lot
Chris

Reply via email to