• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

h:selectOneMenu appearence change in JSF2

 
Kumaravadivel Subramani
Ranch Hand
Posts: 171
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know the way by which you can change the selectOneMenu's background color with arrow change. Hate to have default one in my web page. (Like dojo component's dropdown select, but for my requirement dojo is not a right one).
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CSS.

You can change an individual control's appearance with the "style" or "styleClass" CSS. For making all controls change appearance, override the "input select" style just like you would in raw HTML.
 
Kumaravadivel Subramani
Ranch Hand
Posts: 171
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. Right now I'm working on it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic