myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Jaquet <a.jaq...@avintis.com>
Subject JsCookMenu change css style when menu item are disabled
Date Fri, 15 Sep 2006 14:42:20 GMT
Hi,

I would like to know how can I change the css style of a disabled menu item.

I've try  to set it in a constructor like that

myNavigationMenuItem(String textCode, String goString, boolean 
splitBefore, boolean disabled) {
     super(UtilGui.getTranslationText(textCode), goString, null, 
splitBefore);
     super.setDisabled(disabled);
     // BUG style not loaded
     super.setDisabledStyleClass("disableMenu");
  }

my best regards


Mime
View raw message