It is in nightly build!
James McGrath ha scritto: > Hi All, I'm new to using Tomahawk, but have a bit of experience with > JSF, anyway I'm having a frustrating time at the moment. > > I'm sure there is a really simple solution to this - but I have been > circling this problem for days and can't find a solution. > > I have been trying to use the tomahawk library to produce a static > menu like the one used in the examples: > http://www.irian.at/myfaces/panelnavigation_1.jsf > > I am getting the following exception: > > javax.servlet.ServletException: /mainartistcategories.jsp(15,15) > /menu.jsp(14,12) No tag "panelNavigation2" defined in tag library > imported with prefix "t" > > Where menu.jsp is a file included in mainartistcategories.jsp with the > following statement: <%@ include file="menu.jsp" %> > > Here is an except from menu.jsp: > > ------------------------------------------------------ > <t:div id="subnavigation_outer"> > <t:div id="subnavigation"> > <t:panelNavigation2 id="menu1" layout="list" itemClass="mypage" > activeItemClass="selected" openItemClass="selected" > > <t:commandNavigation2 value="International" > action="#{userBean.doChangeArtistType}" > > <t:commandNavigation2 action="go_panelnavigation_1" > > <f:verbatim>› </f:verbatim> > <t:outputText value="Male" /> > <f:param name="artisttype" value="1"/> > <f:param name="international" value="true"/> > </t:commandNavigation2> > > ------------------------------------------------------ > I basically copied the code from the examples and put it in my app. > The file mainartistcategories.jsp contains the taglib import > statement: <%@ taglib uri="http://myfaces.apache.org/tomahawk" > prefix="t"%> > > At first I thought the problem was that I hadn't included the tomahawk > library on the classpath, but that wasn't the case. Then I thought I > had an old version, so I got the nightly build but still had the same > error. > > It's strange cause if I use the tag t:panelNavigation the tag is > found. I also have the same problem with t:commandNavigation2. > > Maybe it has something to do with my web.xml, but I can't see any > mistakes there - I pretty much copied and pasted from the example for > that as well. I'm using NetBeans 4.1 with the built in Tomcat server > (5.5.7) and even NetBeans knows that - No tag "panelNavigation2" > defined in tag library imported with prefix "t". Maybe it has > something to do with things being imported from the > http://myfaces.apache.org/tomahawk url... > > Anyway, hopefully someone has seen this before and the solution is > easy. Any suggestions would be greatly appreciated. > > Cheers.. > > > >

