Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
f:selectItem and css styleClass ?
posted 9 years ago
is it possible to define style class for selectItem / selectItems?
<f:selectItem itemValue="200" itemLabel="blah" styleClass="someCssClass"/>
i cannot get it to work, but yet i see code examples that uses a styleClass attribute.
Or is there some other way around it?
The problem i have is that i have a drop down where some entries
have a different color than others.
SELECT an option that is blue another option that is red a third option that is green
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
dynamic drop down menu
Getting Setter Method to Fire
Richface/Primefaces Elements are not rendered
A formatting question with radio buttons