I would recommend downloading the sample WAR, deploying it and look in it's
WEB-INF/classes directory to see how images are configured.

http://sourceforge.net/projects/struts-menu/files/

Hope this helps,

Matt

2009/8/6 Pablo Fernández <pablodelacruzfernan...@gmail.com>

> Hello I'm new to struts-menu, using version 2.4.3 with Struts2.
> I have a menu-config.xml that looks like this:
> <MenuConfig>
>     <Displayers>
>         <Displayer name="DropDown"
> type="net.sf.navigator.displayer.DropDownMenuDisplayer"/>
>         <Displayer name="TabbedMenu"
> type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
>         <Displayer name="Simple"
> type="net.sf.navigator.displayer.SimpleMenuDisplayer"/>
>         <Displayer name="Velocity"
> type="net.sf.navigator.displayer.VelocityMenuDisplayer"/>
>     </Displayers>
>
>
>     <Menus>
>         <Menu name="GMenu" title="Main menu" width="50">
>             <Item name="Roles" title="ROLES">
>                 <Item name="rolesAlta" title="Alta" location="Role_input"
> target="workFrame"/>
>                 <Item name="rolesListar" title="Listar" location="RoleList"
> target="workFrame"/>
>             </Item>
>             <Item name="Users" title="USERS">
>                 <Item name="usersAlta" title="Alta" location="User_input"
> target="workFrame"/>
>                 <Item name="usersListar" title="Listar" location="UserList"
> target="workFrame"/>
>             </Item>
>         </Menu>
>     </Menus>
> </MenuConfig>
>
>
> And my menu.jsp looks like this:
> <body>
>         <menu:useMenuDisplayer name="DropDown"
> bundle="org.apache.struts.action.MESSAGE">
>             <table cellpadding=0 cellspacing=0>
>                     <tr>
>                      <td>
>                          <menu:displayMenu name="GMenu"/>
>                     </td>
>                 </tr>
>             </table>
>         </menu:useMenuDisplayer>
>     </body>
>
> I'd like to get the down and right arrows wich are note rendered. I believe
> it's because of my images path.
> I need to get something like pages/images/Darrow.png as the source but I
> only get images/Darrow.png.
> How do I change it?
> Thanks in advance!
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to