I plan to replace panelNavigation by panelNavigation2 the next days. I
didn't want to break panelNavigation during development phase,
therefore i invented panelNavigation2.

If you want to use panelNavigation2, please use a nightly build >= 2005-10-15.

panelNavigation2 has a layout attribute:
layout="table" renders a table (= old behaviour)
laout="list" renders the menu as list (= default)

Thomas


On 10/18/05, James McGrath <[EMAIL PROTECTED]> wrote:
> 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
> >
>
>
>

Reply via email to