Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5840 Create bootstrap theme
  3. OFBIZ-6437

Drop-down menus should be defined explicitly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Bootstrap theme
    • None
    • framework

    Description

      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:

      <menu-item name="shipping" title="${uiLabelMap.ProductShipping}"><link target="ListShipmentMethodTypes"/></menu-item>
      

      and the menu:

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

      This shouldn't be the default behaviour. Drop-down menus should be associated explicitly

      Attachments

        Activity

          People

            Unassigned Unassigned
            pierresmits Pierre Smits
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: