It's possible the Velocity template doesn't render an image. I'd advise you to look at the template and see what HTML is being produced.

Matt

On Feb 4, 2008, at 2:57 PM, Casanova wrote:


Hello Sir,

Thank you for your reply. I think, I tried all the combinations for using
image in my velocity menudisplayer.
Please have a look in this example.

http://demo.raibledesigns.com/struts-menu/index.jsp

If you see, normal struts basic example to velocity coolmenus, both of them get their menu from common menu-config.xml file. And in menu- config.xml we specify the image attribute. And in normal struts basic example, we could
see the images. But in velocity coolmenu, we dont see any images. So,
further input please

Thanking you.

Regards,
Ajay


Rob Hills wrote:

Hi Ajay,

Casanova wrote:
Iam trying to include image in my velocity strutsmenu. I used this
attribute
image=Images/myimage.png. But its is not displaying the image in the
menu.
Could you please give me some hints, what might be wrong. Below is my
code
Iam suing for displaying the image in menu.
<Menu name="Hilfe" title="hilfe.title" image="/images/minus.gif"
page="/sample.html" width="40" roles="ROLE_ADMIN,ROLE_USER" />

Looks like you may have a case problem in your path.  Your attribute
value specifies the path "Images/myimage.png" with a capital "I" whereas
your <Menu .. tag has:

image="/images/minus.gif", ie the "images" folder there starts with a
lowercase "i".

HTH,

Rob Hills
Waikiki, Western Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
View this message in context: http://www.nabble.com/Image-in- Velocitymenudisplayer-tp15270532s2369p15279739.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to