Thanks for the quick response. I am using MyFaces 1.1.0.

You are right, panelNavigation2 does not appear in META-INF/tomahawk.tld, so it could be something in a new release.

I think I will use the panelNavigation tag instead (I'm really not sure what the difference between the two is actually). Anyone know of the differences? The documentation (http://myfaces.apache.org/tlddoc/tomahawk/) for both is exactly the same. Anyone know what version this documentation is for?

I think I was making the wrong assumption that the examples to be found on the web (http://www.irian.at/myfaces/) were the same ones as you can download from from the mirrors. It's strange cause the example site say it is MyFaces (version 1.1.0). Does anyone else think this is a mistake? If so, I will let Martin Marinschek know about it.

Cheers.

Simon Kitching wrote:
James McGrath wrote:
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" >

Looking at the META-INF/tomahawk.tld file inside the tomahawk.jar file for the 1.1.0 release, I don't see any entry for a "panelNavigation2" tag.

Perhaps this tag was added after the 1.1.0 release.
You don't say what version of myfaces you are using.

Regards,

Simon

begin:vcard
fn:James McGrath
n:McGrath;James
email;internet:[EMAIL PROTECTED]
tel;work:03 8344 6799
tel;home:03 9328 4289
tel;cell:0406 041 555
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to