It's not a secret anymore!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 166

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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15958
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 166

Thanks. Right now I'm working on it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: h:selectOneMenu appearence change in JSF2
 
Similar Threads
maven - customized dojo profile.
refresh page
DOJO + JSON
dojotoolkit i18n in struts 2
Jquery or Prototype