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.
Hi,
If you hover over the icon attribute in the editor it says "Path of the menuitem image." (Not a resource name like required graphicImage).
You should 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.
Hi,
If you hover over the icon attribute in the editor it says "Path of the menuitem image." (Not a resource name like required graphicImage).
You should 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.