menuitem dynamic icon image

UI Components for JSF
Post Reply
dwaard
Posts: 1
Joined: 18 Oct 2011, 11:20

18 Oct 2011, 11:25

Hi, It's my first post here and pretty new to JSF and PrimeFaces.
I want to use a stack and load it with dynamic images, something like:

Code: Select all

<p:menuitem onclick="dlg.show()" value="Account" icon="#{trainerBean.profilePicture}" ></p:menuitem>
This does not work, but how do I do this?
Primefaces ver 2.2.1
JSF impl Majorra
Server Glassfish 3.1.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 12 guests