Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

More customizable selectManyCheckbox and selectOneRadio  RSS feed

Paolo Pinkel
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!