On Thu, Jul 23, 2009 at 12:26 PM, Mathias
Nilsson<wicket.program...@gmail.com> wrote:

> I don't exactly know which component you are trying to implement but what
> about.
>
> add( new YUIMenu( "id" ){
>   @Override
>   protected void onBeforeRender() {
>     super.onBeforeRender();
>    // Add css reference here or something else
>  }
> });

I'm violating YuiMenuBar :-)

Overriding getCssClass() method did the job - it allows to change
"root" class name of all Yui menu hierarchy hence I can introduce my
own styles in another .css file.

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

Reply via email to