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">&lt;<a href=3D"mailto:pablodelacruz=
[email protected]">[email protected]</a>&gt;</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&#39;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>&lt;MenuConfig&gt;<br>=C2=A0=
=C2=A0=C2=A0 &lt;Displayers&gt;<br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &l=
t;Displayer name=3D&quot;DropDown&quot; type=3D&quot;net.sf.navigator.displ=
ayer.DropDownMenuDisplayer&quot;/&gt;<br>


=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;Displayer name=3D&quot;TabbedMenu=
&quot; type=3D&quot;net.sf.navigator.displayer.TabbedMenuDisplayer&quot;/&g=
t;<br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;Displayer name=3D&quot;Simp=
le&quot; type=3D&quot;net.sf.navigator.displayer.SimpleMenuDisplayer&quot;/=
&gt;<br>


=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;Displayer name=3D&quot;Velocity&q=
uot; type=3D&quot;net.sf.navigator.displayer.VelocityMenuDisplayer&quot;/&g=
t;<br>=C2=A0=C2=A0=C2=A0 &lt;/Displayers&gt;<br>=C2=A0=C2=A0=C2=A0 <br>=C2=
=A0=C2=A0=C2=A0 <br>=C2=A0=C2=A0=C2=A0 &lt;Menus&gt;<br>=C2=A0=C2=A0=C2=A0 =
=C2=A0=C2=A0=C2=A0 &lt;Menu name=3D&quot;GMenu&quot; title=3D&quot;Main men=
u&quot; width=3D&quot;50&quot;&gt;<br>


=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;Item name=3D&q=
uot;Roles&quot; title=3D&quot;ROLES&quot;&gt;<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 &lt;Item name=3D&quot;ro=
lesAlta&quot; title=3D&quot;Alta&quot; location=3D&quot;Role_input&quot; ta=
rget=3D&quot;workFrame&quot;/&gt;<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 &lt;Item name=3D&quot;rolesListar&quo=
t; title=3D&quot;Listar&quot; location=3D&quot;RoleList&quot; target=3D&quo=
t;workFrame&quot;/&gt;<br>


=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;/Item&gt;<br>=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;Item name=3D&q=
uot;Users&quot; title=3D&quot;USERS&quot;&gt;<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 &lt;Item name=3D&quot;us=
ersAlta&quot; title=3D&quot;Alta&quot; location=3D&quot;User_input&quot; ta=
rget=3D&quot;workFrame&quot;/&gt;<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=
 &lt;Item name=3D&quot;usersListar&quot; title=3D&quot;Listar&quot; locatio=
n=3D&quot;UserList&quot; target=3D&quot;workFrame&quot;/&gt;<br>=C2=A0=C2=
=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;/Item&gt;<br>=C2=A0=C2=
=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;/Menu&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/Menus=
&gt;<br>


&lt;/MenuConfig&gt;<br><br><br>And my menu.jsp looks like this:<br>&lt;body=
&gt;<br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;menu:useMenuDisplayer nam=
e=3D&quot;DropDown&quot; bundle=3D&quot;org.apache.struts.action.MESSAGE&qu=
ot;&gt;<br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;tab=
le cellpadding=3D0 cellspacing=3D0&gt;<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 &lt;tr&gt;<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&lt;td&gt;<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 &lt;menu:displayMenu name=3D&q=
uot;GMenu&quot;/&gt;<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 &lt;/td&gt;<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 &lt;/tr&gt;<br=
>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;/table&gt;<br=
>


=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 &lt;/menu:useMenuDisplayer&gt;<br>=C2=
=A0=C2=A0=C2=A0 &lt;/body&gt;<br><br>I&#39;d like to get the down and right=
 arrows wich are note rendered. I believe it&#39;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&#39;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==--