Re: Images path
Matt Raible <matt-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> Fri, 7 Aug 2009 11:14:29 -0400
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0663477615293943062== Content-Type: multipart/alternative; boundary=0016e645a3fa80b11504708eb290 --0016e645a3fa80b11504708eb290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=A1ndez <[email protected]> > 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=3D"DropDown" > type=3D"net.sf.navigator.displayer.DropDownMenuDisplayer"/> > <Displayer name=3D"TabbedMenu" > type=3D"net.sf.navigator.displayer.TabbedMenuDisplayer"/> > <Displayer name=3D"Simple" > type=3D"net.sf.navigator.displayer.SimpleMenuDisplayer"/> > <Displayer name=3D"Velocity" > type=3D"net.sf.navigator.displayer.VelocityMenuDisplayer"/> > </Displayers> > > > <Menus> > <Menu name=3D"GMenu" title=3D"Main menu" width=3D"50"> > <Item name=3D"Roles" title=3D"ROLES"> > <Item name=3D"rolesAlta" title=3D"Alta" location=3D"Role_= input" > target=3D"workFrame"/> > <Item name=3D"rolesListar" title=3D"Listar" location=3D"R= oleList" > target=3D"workFrame"/> > </Item> > <Item name=3D"Users" title=3D"USERS"> > <Item name=3D"usersAlta" title=3D"Alta" location=3D"User_= input" > target=3D"workFrame"/> > <Item name=3D"usersListar" title=3D"Listar" location=3D"U= serList" > target=3D"workFrame"/> > </Item> > </Menu> > </Menus> > </MenuConfig> > > > And my menu.jsp looks like this: > <body> > <menu:useMenuDisplayer name=3D"DropDown" > bundle=3D"org.apache.struts.action.MESSAGE"> > <table cellpadding=3D0 cellspacing=3D0> > <tr> > <td> > <menu:displayMenu name=3D"GMenu"/> > </td> > </tr> > </table> > </menu:useMenuDisplayer> > </body> > > I'd like to get the down and right arrows wich are note rendered. I belie= ve > 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-D= ay > trial. Simplify your report design, integration and deployment - and focu= s > 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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > --0016e645a3fa80b11504708eb290 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I would recommend downloading the sample WAR, deploying it and look in it&#= 39;s WEB-INF/classes directory to see how images are configured.<br><br><a = href=3D"http://sourceforge.net/projects/struts-menu/files/">http://sourcefo= rge.net/projects/struts-menu/files/</a><br> <br>Hope this helps,<br><br>Matt<br><br><div class=3D"gmail_quote">2009/8/6= Pablo Fern=C3=A1ndez <span dir=3D"ltr"><<a href=3D"mailto:pablodelacruz= [email protected]">[email protected]</a>></span><br><bl= ockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204= , 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello I'm new to struts-menu, using version 2.4.3 with Struts2.<br>I ha= ve a menu-config.xml that looks like this:<br><MenuConfig><br>=C2=A0= =C2=A0=C2=A0 <Displayers><br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &l= t;Displayer name=3D"DropDown" type=3D"net.sf.navigator.displ= ayer.DropDownMenuDisplayer"/><br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Displayer name=3D"TabbedMenu= " type=3D"net.sf.navigator.displayer.TabbedMenuDisplayer"/&g= t;<br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Displayer name=3D"Simp= le" type=3D"net.sf.navigator.displayer.SimpleMenuDisplayer"/= ><br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Displayer name=3D"Velocity&q= uot; type=3D"net.sf.navigator.displayer.VelocityMenuDisplayer"/&g= t;<br>=C2=A0=C2=A0=C2=A0 </Displayers><br>=C2=A0=C2=A0=C2=A0 <br>=C2= =A0=C2=A0=C2=A0 <br>=C2=A0=C2=A0=C2=A0 <Menus><br>=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 <Menu name=3D"GMenu" title=3D"Main men= u" width=3D"50"><br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Item name=3D&q= uot;Roles" title=3D"ROLES"><br>=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Item name=3D"ro= lesAlta" title=3D"Alta" location=3D"Role_input" ta= rget=3D"workFrame"/><br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Item name=3D"rolesListar&quo= t; title=3D"Listar" location=3D"RoleList" target=3D&quo= t;workFrame"/><br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </Item><br>= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Item name=3D&q= uot;Users" title=3D"USERS"><br>=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <Item name=3D"us= ersAlta" title=3D"Alta" location=3D"User_input" ta= rget=3D"workFrame"/><br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= <Item name=3D"usersListar" title=3D"Listar" locatio= n=3D"UserList" target=3D"workFrame"/><br>=C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </Item><br>=C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 </Menu><br>=C2=A0=C2=A0=C2=A0 </Menus= ><br> </MenuConfig><br><br><br>And my menu.jsp looks like this:<br><body= ><br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <menu:useMenuDisplayer nam= e=3D"DropDown" bundle=3D"org.apache.struts.action.MESSAGE&qu= ot;><br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <tab= le cellpadding=3D0 cellspacing=3D0><br> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 <tr><br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0<td><br>= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 <menu:displayMenu name=3D&q= uot;GMenu"/><br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </td><br>=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </tr><br= >=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </table><br= > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </menu:useMenuDisplayer><br>=C2= =A0=C2=A0=C2=A0 </body><br><br>I'd like to get the down and right= arrows wich are note rendered. I believe it's because of my images pat= h.<br>I need to get something like pages/images/Darrow.png as the source bu= t I only get images/Darrow.png.<br> How do I change it?<br>Thanks in advance!<br> <br>-----------------------------------------------------------------------= -------<br> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day= <br> trial. Simplify your report design, integration and deployment - and focus = on<br> what you do best, core application coding. Discover what's new with<br> Crystal Reports now. =C2=A0<a href=3D"http://p.sf.net/sfu/bobj-july" target= =3D"_blank">http://p.sf.net/sfu/bobj-july</a><br>__________________________= _____________________<br> struts-menu-user mailing list<br> <a href=3D"mailto:struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">struts-menu-user@= lists.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/struts-menu-user" t= arget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/struts-menu-u= ser</a><br> <br></blockquote></div><br> --0016e645a3fa80b11504708eb290-- --===============0663477615293943062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============0663477615293943062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ struts-menu-user mailing list struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/struts-menu-user --===============0663477615293943062==--