The only thing I can think of is it doesn't handle the existings of no
child items very well.

Can please you enter this as a bug in JIRA:
http://issues.appfuse.org/browser/SM?

In the meantime, you could try the VelocityMenuDisplayer - it allows
you to fully customize its HTML.

Thanks,

Matt


On 7/20/06, Raúl Herranz Serrano <[EMAIL PROTECTED]> wrote:
> I have a problem with my struts-menu (version 2.4.1). I have simplified the
> menus but I still have "null" values all over the menu... what's the
> problem?
>
> Here you have my menu-config.xml:
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <MenuConfig>
>  <Displayers>
>   <Displayer name="CssListMenu"
> type="net.sf.navigator.displayer.CSSListMenuDisplayer"/>
>  </Displayers>
>  <Menus>
>   <Menu name="MenuConsultas" title="Consultas" />
>   <Menu name="MenuTramites" title="Tramites" />
>   <Menu name="MenuMataderos" title="Mataderos" />
>  </Menus>
> </MenuConfig>
>
> That's my menu.jsp page:
>
> <%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu" %>
> <%@ taglib uri="/WEB-INF/struts-menu-el.tld" prefix="menu-el" %>
>
> <menu:useMenuDisplayer id="primary-nav" name="CssListMenu"
> bundle="org.apache.struts.action.MESSAGE">
> <menu:displayMenu name="MenuConsultas"/>
> <menu:displayMenu name="MenuTramites"/>
> <menu:displayMenu name="MenuMataderos"/>
> </menu:useMenuDisplayer>
>
> And that's the HTML I finally get:
>
> <div id="menuDiv"><ul id="menuList">
>     null
>  <a href="#" title="Consultas" class="standalone">Consultas</a>
>  </li>
>     null
>  <a href="#" title="Tramites" class="standalone">Tramites</a>
>  </li>
>     null
>  <a href="#" title="Mataderos" class="standalone">Mataderos</a>
>  </li>
> </ul></div>
>
>
>
> Thanks in advance!!
>
>     Raul Herranz (Spain)
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to