myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "InputSuggestAjax" by GeraldMüllan
Date Mon, 07 Aug 2006 18:28:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by GeraldMüllan:
http://wiki.apache.org/myfaces/InputSuggestAjax

------------------------------------------------------------------------------
  === Styling ===
  
  InputSuggestAjax provides a default style defined by Dojo. However, if you want to style
the 
- component your own way, you have to set the overrideDefaultStyle attribute to true and provide

+ component your own way, you have to override Dojo`s default style-classes by prefixing the
body element. 
+ 
- your own style classes. Following the original Dojo css styles:
+ Following the original Dojo css styles:
  
  {{{
  
@@ -75, +76 @@

   
  }}} 
  
- Just copy the styles to your own css-file, and change whatever you want, except naming of
classes.
+ For example, if you want to customize the list of suggested items, just add this to 
+ your own css-file:
  
+ {{{
+ body .cbItem {
+ 	padding-left: 5px;
+ 	padding-top: 5px;
+ 	margin: 0px;
+ }
+ }}} 
+ 

Mime
View raw message