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

menuBar and Tree are inconsistent in data behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: Menu Bar
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Please run attached XMLTag.mxml
      2. select item from MenuBar control - text area does not update
      3. select item from Tree control - text area does update

      Actual Results:

      The Tree and MenuBar, given the same tree-structured xml, should behave the same way, where you can refer to the selectedItem . Instead the syntax only permits selectedIndex on the menuBar - which is pretty dysfunctional (only refers to one level of the tree structure). And, though I've used the same data binding between menubar & text area, as with tree & text area - selecting an item on the tree updates the text area. Selecting an item on the menubar does not.

      Expected Results:

      These two controls should behave the same way. Programming the menuBar is mystifying...

      The reason I was working on this example (an extension from Marco Casario's book Flex Solutions) was because I tried to program a template component using a menuBar, and I was having grave difficulty figuring out the listeners...

      Workaround (if any):

      Still working on that one...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: