Axon.ivy 7.0 - the Digital Business Platform - is out now...

Hello, did anyone use Dock im Html Dialog?

I have a problem, the image of menuitem cannot be found and painted.

The Path and image have been correctly set. The code is as follows:

<p:dock> <p:menuitem label="Home" icon="/images/macosx/finder.png" url="#"/> </p:dock>

Thanks a lot!

asked 30.10.2013 at 16:21

dong's gravatar image

dong
1222
accept rate: 0%

edited 05.11.2013 at 13:52

admin's gravatar image

admin ♦♦
11125


Hi,

If you hover over the icon attribute in the editor it says "Path of the menuitem image." (Not a resource name like graphicImage). You should be able to specify a path to the icon like this:

<p:menuitem label="Home" icon="#{resource['images/macosx/finder.png']}" url="#"/>

Also have a look at the Resource Demo in the HtmlDialog Demos.

link

answered 30.10.2013 at 17:54

Peter%20St%C3%B6ckli's gravatar image

Peter Stöckli ♦
3712410
accept rate: 69%

edited 30.10.2013 at 17:55

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×44

Asked: 30.10.2013 at 16:21

Seen: 1,562 times

Last updated: 05.11.2013 at 13:52