Thing is if I used panelNavigation and commandNavigation everything is fine but if I use anelNavigation2 and commandNavigation2 then all I get is an empty <UL></UL> tag rendered and no links.
Any help?
I have the following code
.xhtml file
xmlns:t="http://myfaces.apache.org/tomahawk"
<t:panelNavigation2 id="panelNavigation1"
itemClass="navItemClass"
openItemClass="navOpenItemClass"
activeItemClass="navActiveItemClass"
separatorClass="navSeparatorClass">
<t:commandNavigation2 id="homeButtonLink2" action="" value="Home"/>
<t:commandNavigation2 id="productsButtonLink2" action="" value="Software Products">
<t:commandNavigation2 id="winemakerTrackerButtonLink2" action="" value="WinemakerTracker">
<t:commandNavigation2 id="winemakerTrackerDownloadLink2" action="" value="Download"/>
</t:commandNavigation2>
</t:commandNavigation2>
<t:commandNavigation2 id="customButtonLink2" action="" value="Custom Development"/>
<t:commandNavigation2 id="philosophyButtonLink2" action="" value="Company Philosophy"/>
<t:commandNavigation2 id="companyInfoButtonLink2" action="" value="Company Information"/>
<t:commandNavigation2 id="newsButtonLink2" action="" value="News"/>
<t:commandNavigation2 id="contactUsButtonLink2" action="" value="Contact Us"/>
</t:panelNavigation2>
tomahawk.taglib.xml
<tag>
<tag-name>panelNavigation2</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlPanelNavigationMenu </component-type>
<renderer-type>org.apache.myfaces.NavigationMenu</renderer-type>
</component>
</tag>
<tag>
<tag-name>commandNavigation2</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlCommandNavigation</component-type>
<renderer-type>javax.faces.Link</renderer-type>
</component>
</tag>
web.xml
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>
Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>
Set the threshold size - files below this limit are
stored in memory, files above this limit are stored on
disk.
Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
</init-param>
<!-- <init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
<description>Set the path where the intermediary files will be stored.
</description>
</init-param>-->
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.xhtml</url-pattern>
</filter-mapping>

