Announcement Announcement Module
Collapse
No announcement yet.
problem to display menu items Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem to display menu items

    Hello,

    Does somebody know what should i do to display the items ViewUsers and ActiveUsers on mouse over the AdminMenu ?
    Here is the menu-config.xml :

    <?xml version="1.0" encoding="UTF-8"?>
    <MenuConfig>
    <Displayers>
    <Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDispl ayer"/>
    </Displayers>
    <Menus>
    <Menu name="MainMenu" title="mainMenu.title" page="/mainMenu" roles="ROLE_ADMIN,ROLE_USER"/>
    <Menu name="AdminMenu" title="menu.admin" description="Admin Menu" page="/users" roles="ROLE_ADMIN"/>
    <Item name="ViewUsers" title="menu.admin.userSearch" page="/admin/usersearch"/>
    <Item name="ActiveUsers" title="mainMenu.activeUsers" page="/admin/activeUsers"/>
    <Menu name="Logout" title="user.logout" page="/logout" roles="ROLE_ADMIN,ROLE_USER"/>
    </Menus>
    </MenuConfig>

    and the menu.jsp :
    <menu:useMenuDisplayer name="Velocity" config="cssHorizontalMenu.vm" permissions="rolesAdapter">
    <ul id="primary-nav" class="menuList">
    <li class="pad">&nbsp;</li>
    <c:if test="${empty pageContext.request.remoteUser}">
    <li>
    <!-- <a href="<c:url value="/login"/>" class="current"><fmt:message key="login.title" /> -->
    </li>
    </c:if>
    <menu:displayMenu name="MainMenu" />
    <menu:displayMenu name="UserMenu" />
    <menu:displayMenu name="AdminMenu" />
    <menu:displayMenu name="Logout" />
    </ul>
    </menu:useMenuDisplayer>

    they must have come from the spring appfuse example but i didn't find the users.jsp

    Thks,
Working...
X