aspose file tools*
The moose likes JSF and the fly likes Applying style class to only one item in h:selectmanyCheckbox  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Applying style class to only one item in h:selectmanyCheckbox  " Watch "Applying style class to only one item in h:selectmanyCheckbox  " New topic
Author

Applying style class to only one item in h:selectmanyCheckbox

vishnu bola
Ranch Hand

Joined: Jun 01, 2009
Posts: 32
Hi all,

i have a list of checkboxes on my page which i generated using h:selectManyCheckBox tag and i am using tomahawk implementation.


Now i want to apply style class to the first option in the list. can someone help me how to get the first item item in the selectItems list.

Thank you
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applying style class to only one item in h:selectmanyCheckbox
 
Similar Threads
selectManyCheckbox in dataTable returns only the last selected item rather the whole list.
selectManyCheckbox
Select items doesn't use converter to generate label.
create multiple checkboxes with Data base values in jsf page
ajax4jsf: how to get selected value(s) from component with f:selectItems