Possible to display images in a pickList?

UI Components for JSF
Post Reply
healeyb
Posts: 365
Joined: 07 Apr 2010, 16:05

06 Oct 2010, 15:53

I couldn't see any way of doing this, but thought I'd check. Assuming it is
not possible at present, I thought I could have side by side datatables
with single click select and have four buttons in the middle to move
items between the tables as a workaround?

Regards,
Brendan.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

06 Oct 2010, 17:06

Hi,

It's possible with the new PickList. Images can be set with CSS background.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Oct 2010, 17:25

New PickList will support p:column for this so you can place an image directly;

http://www.primefaces.org/showcase/ui/picklist.jsf

healeyb
Posts: 365
Joined: 07 Apr 2010, 16:05

06 Oct 2010, 17:33

p:column sounds like a nice way to implement it - I'm going to wait for the
next 2.2 release and give it a go.

Regards,
Brendan.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 49 guests