File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Coloured select items in selectOneMenu ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Coloured select items in selectOneMenu ?" Watch "Coloured select items in selectOneMenu ?" New topic
Author

Coloured select items in selectOneMenu ?

Jamie Williams
Ranch Hand

Joined: Mar 31, 2006
Posts: 70
Hi I need to make some of the items in a selectOneMenu have a grey background (i.e set the style attribute of the html <option> tag), depending on what they are. I can do this quite easily in PHP but I'm new to JSF and haven't got a clue! Yes they have to be in the same menu, and no it's not my idea :roll:

Thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Coloured select items in selectOneMenu ?
 
Similar Threads
question in h:selectOneMenu tag
Populated UISelect components via Database
tooltip for selectItems
A Problem with events
JSF: validation error on selectonemenu when refresh button is clicked