Title: Message
Yes
indeed it would be very usefull, but don't know how to do that without modifying
the source code of the component.
Anyone
have any idea ?
Regards,
Clément
-Message d'origine-De: Delbrouck,
Henri-Philippe [mailto:[EMAIL PROTECTED]
Envoyé: mardi 23 août 2005 16:52À: 'MyFaces
Discussion'Objet: RE: RE : Different rendering for disabled
menu
Clément,
by
default, the menu is not rendered in another way when it is disabled. What we
can see is the fact that there is no action associated
with.
It
should be very usefull to have a diffenet rendering for disbled menus
(especially for dynamic menu).
Henri-Philippe
-Original Message-From: Clément
Maignien [mailto:[EMAIL PROTECTED] Sent: mardi 23
août 2005 16:31To: MyFaces DiscussionSubject: 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 whena menuItem is disabled
?
-Message d'origine-De:
Delbrouck, Henri-Philippe [mailto:[EMAIL PROTECTED]
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