On Thu, Jul 23, 2009 at 12:26 PM, Mathias
Nilsson<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to