How to override RatingPanel default CSS?

2009-12-29 Thread Jerouris
Hello everynone,

Does anyone know how can I override the default CSS of the rating panel and
use a custom CSS class e.g. .myrating instead of .WicketRating?

Thanks,
Jerry


Re: How to override RatingPanel default CSS?

2009-12-29 Thread Martin Makundi
Make new MyRatingPanel.html for MyRatingPanel extends RatingPanel

**
Martin

2009/12/29 Jerouris jerou...@gmail.com:
 Hello everynone,

 Does anyone know how can I override the default CSS of the rating panel and
 use a custom CSS class e.g. .myrating instead of .WicketRating?

 Thanks,
 Jerry


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to override RatingPanel default CSS?

2009-12-29 Thread Per Newgro
If you want to overwrite the .WicketRating definition by your own, 
simply add a .WicketRating class to your own css and load it after the 
original one.


Cheers
Per

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to override RatingPanel default CSS?

2009-12-29 Thread Jerouris
Thank you Martin,

That worked!

Jerry

2009/12/29 Martin Makundi martin.maku...@koodaripalvelut.com

 Make new MyRatingPanel.html for MyRatingPanel extends RatingPanel

 **
 Martin

 2009/12/29 Jerouris jerou...@gmail.com:
  Hello everynone,
 
  Does anyone know how can I override the default CSS of the rating panel
 and
  use a custom CSS class e.g. .myrating instead of .WicketRating?
 
  Thanks,
  Jerry
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org