wood burning stoves 2.0
The moose likes JSF and the fly likes h:selectOneMenu appearence change in JSF2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "h:selectOneMenu appearence change in JSF2" Watch "h:selectOneMenu appearence change in JSF2" New topic
Author

h:selectOneMenu appearence change in JSF2

Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 171

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).


No pain, No gain.
OCJP 1.6, Liferay Certified Developer 6.1
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17038
    
  26

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.


An IDE is no substitute for an Intelligent Developer.
Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 171

Thanks. Right now I'm working on it.
 
wood burning stoves
 
subject: h:selectOneMenu appearence change in JSF2
 
It's not a secret anymore!