• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

More customizable selectManyCheckbox and selectOneRadio

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey!

I'm using selectManyCheckboxes and selectOneRadios and I would like to customize them in some way. It would be sufficient if there was be a possibilty to group the selectItems according to a certain property (e. g. with a headline for each group or a line between each group).

What I want to do: I have a list of objects that have a property, let's say... a category (x, y or z). I want to display them in either a selectManyCheckbox or in a selectOneRadio, but grouped by that property. (And, if possible, with a headline for that property, or some sort of line between them, or...)

Is there any way to achieve this with standard JSF 2 + Tomahawk?

(Yes, this is sort of a crosspost. But the answer I got on some other website was quite interesting, but didn't really help me, unfortunately. I learned that Tomahawk offers the possibility to spread the selectItems of a selectManyCheckbox or a selectOneRadio anywhere on the page, but I don't know how to achieve my task with the Tomahawk functionality.)

Thank you!
reply
    Bookmark Topic Watch Topic
  • New Topic