Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-537

MenuNode.getId() now returns "id" attribute value from metadata. MenuNode.getUniqueId() now returns a unique id String.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-incubating-core
    • 1.0.0-incubating-core
    • None
    • None

    Description

      Users of the XMLMenuModel can call, via the PropertyResolver, into a menu node to get individual attribute values. Before this change,getting a node's "id" attribute would not return the value of the "id" attribute seen in the menu's metadata. So I have changed MenuNode.getId() to return the value seen in the menu metadata (which is not necessarily unique). A unique id, needed internally, is now obtained internally through the protected method, getUniqueId() in MenuNode.java.

      Attachments

        1. trunk.patch
          3 kB
          Gary Kind

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            garykind Gary Kind
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: