voyent
selectOneMenu background per item!  XML
Forum Index -> Components
Author Message
Marioko

Joined: 14/Nov/2006 00:00:00
Messages: 125
Offline


Hi i notice that in pure HTML we can use diferent background per item in a select (ComboBox or List), like this:

Code:
<select name="select" id="select">
   <option style="background-color:#FF9900">Value 1</option>
   <option style="background-color:#FFFF99">Value 2</option>
   <option style="background-color:#009900">Value 3</option>
   <option style="background-color:#33CCFF">Value 4</option>
 </select>


How can we do the same but using <ice:selectOneMenu> and SelectItem???
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team