0 Replies Latest reply on Apr 22, 2010 3:14 PM by Adrien Adrien

    How to change style of javax.faces.model.SelectItem in my bean?

    Adrien Adrien Apprentice

      Hi,

      I'have a h:selectOneListbox, and I need to change css style for some items.

      I've found no way to set the style in java class  SelectItem when  i create the my list of item in my bean.

      Is someone know ho i can do it?

      Thanks

       

       

      SelectItem item =  new SelectItem("test","test");

      if(test){

           item.< no way to se the style class?>

      }