Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-13403

Menu Bar not showing the sub item properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Menu Bar
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the application (code is mentioned below) , observe the menu category it's AA>A1>A111. verify the xml now
      2. now remove the commented line and run the application
      3. you can see menu category working fine according to xml
      4. if there is only one super sub item, then the bug is occured . (eg. A11 is missing during first (run with comment))

      Actual Results:
      menu category - AA>A1>A111

      Expected Results:
      menu category should be AA>A1>A11>A111

      Workaround (if any):
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:Script>
      <![CDATA[
      private var tempXML:XML=
      <MenuDetails ref="main">
      <menuItem label="AA" data="" icon="">
      <submenu label="A1" data="" icon="" >
      <submenuItem label="A11" data="" icon="" >
      <supersub label="A111 " data="" icon=""/>
      <supersub label="A111" data="" icon=""/>
      </submenuItem>
      <!--<submenuItem label="A22" data="" icon="" >
      <supersub label="A222" data="" icon=""/>
      <supersub label="A222" data="" icon=""/>
      </submenuItem>-->
      </submenu>
      </menuItem>
      </MenuDetails>
      ]]
      >
      </mx:Script>
      <mx:MenuBar width="709" height="24" dataProvider="

      {tempXML.menuItem}

      " labelField="@label"/>
      </mx:Application>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: