myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Raoul (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-860) Fishye navigationmenuitem disabled does not work
Date Tue, 08 May 2007 20:43:15 GMT

    [ 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.


Mime
View raw message