You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pierre Raoul (JIRA)" <de...@myfaces.apache.org> on 2007/05/08 22:43:15 UTC

[jira] Commented: (TOMAHAWK-860) Fishye navigationmenuitem disabled does not work

    [ https://issues.apache.org/jira/browse/TOMAHAWK-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494397 ] 

Pierre Raoul commented on TOMAHAWK-860:
---------------------------------------

In fact it's itemDisabled which is used to set the value of disabled!

See NavigationMenuUtils.getNavigationMenuItemList(UIComponent uiComponent), 
(tomahawk-1.1.5-SNAPSHOT):

                    item = new NavigationMenuItem(itemValue,
                                                  itemLabel,
                                                  uiItem.getItemDescription(),
                                                  uiItem.isItemDisabled() || ! UserRoleUtils.isEnabledOnUserRole(uiItem),
                                                  uiItem.isRendered(),
                                                  actionStr,
                                                  uiItem.getIcon(),
                                                  uiItem.isSplit());

And even if disabled and itemDisabled are at "true", the disabledStyle and disabledStyleClass are ignored. 


 


> Fishye navigationmenuitem disabled does not work
> ------------------------------------------------
>
>                 Key: TOMAHAWK-860
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-860
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>            Reporter: Werner Punz
>         Assigned To: Werner Punz
>            Priority: Minor
>
> A user reported that the fisheye navigation menu items disabled attribute does not do anything, this can be true, I will investigate into this bug und will fix it if it reall is that way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.