A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
f:selectItem and css styleClass ?
Joined: Jan 15, 2007
Jan 02, 2008 04:11:00
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 should have a different color than others.
SELECT an option that is blue another option that is red a third option that is green
I agree. Here's the link:
subject: f:selectItem and css styleClass ?
A formatting question with radio buttons
Richface/Primefaces Elements are not rendered
Getting Setter Method to Fire
dynamic drop down menu
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013