You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Clément Maignien <c....@edic-syliance.com> on 2005/08/23 16:30:41 UTC

RE : Different rendering for disabled menu

Huumm, never tried that. There isn't any styleClass attribute for the navigationMenuItem component instead we could do something like :
<t:navigationMenuItem styleClass="#{menuBean.item[i].disable ? 'disableStyle' 'enableStyle' }" .../>
 
But isn't it rendered another way by default when a menuItem is disabled ?
 

-----Message d'origine-----
De : Delbrouck, Henri-Philippe [mailto:henri-philippe.delbrouck@siemens.com] 
Envoyé : mardi 23 août 2005 15:17
À : 'users@myfaces.apache.org'
Objet : Different rendering for disabled menu



When a menu is set as disabled, could someone tell me how is it possible to render it in a different way in order that the user see that the menu is disabled.

Thanks 

	Henri-Philippe Delbrouck 

	Siemens Business Services