Pierre Smits created OFBIZ-6437:
-----------------------------------
Summary: Drop-down menus should be defined explicitly
Key: OFBIZ-6437
URL: https://issues.apache.org/jira/browse/OFBIZ-6437
Project: OFBiz
Issue Type: Sub-task
Components: framework
Affects Versions: Bootstrap theme
Reporter: Pierre Smits
Currently when a menu has the same name as a menu item in the applications main
(appbar) menu and it has TabBar in its name, it is automatically regarded as a
dropdown menu.
See: menu-item in app of catalog:
{code}
<menu-item name="shipping" title="${uiLabelMap.ProductShipping}"><link
target="ListShipmentMethodTypes"/></menu-item>
{code}
and the menu:
{code}
<menu name="ShippingTabBar" extends="CommonTabBarMenu"
extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="ListShipmentMethodTypes"
title="${uiLabelMap.ProductShipmentMethodTypes}">
<link target="ListShipmentMethodTypes"/>
</menu-item>
<menu-item name="ListQuantityBreaks"
title="${uiLabelMap.ProductQuantityBreaks}">
<link target="ListQuantityBreaks"/>
</menu-item>
<menu-item name="ListCarrierShipmentMethods"
title="${uiLabelMap.ProductCarrierShipmentMethods}">
<link target="ListCarrierShipmentMethods"/>
</menu-item>
</menu>
{code}
This shouldn't be the default behaviour. Drop-down menus should be associated
explicitly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)