ICEfaces
  1. ICEfaces
  2. ICE-9890

ace:contextMenu within ace:tree does not fire actionListener except for root node.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace jsf2
    • Assignee Priority:
      P2

      Description

      as per attached test case, note the context menu will fire the action listener only for the root node.
      three test pages within this test app:-
                       <ace:linkButton id="linkButton1" value="12684" href="contextMenuInAceTree.jsf"></ace:linkButton>
                         <ace:linkButton id="linkButton3" value="12684Variation" href="contextMenuInAceTree2.jsf"></ace:linkButton>
                         <ace:linkButton id="linkButton2" value="12684 no ace ajax" href="contextMenuInAceTreeNoAceAjax.jsf"></ace:linkButton>
      12684 is original test case.
      12684 variation is not using static lists directly in page.
      12684 no ajax is without using ace:ajax.

      First two show js errors
      "[window] Source element is undefined, cannot determine if this view is ICEfaces enabled." (once for each ace:ajax per menuItem). Note the id's that the ace:tree generates
      javax.faces.execute: form:tree:-:0:1:-:menuItem3a
      Even the showcase example shows '-' within id's of ace:tree. Is this acceptable for jsf id's?

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40511 Tue Apr 01 13:49:01 MDT 2014 mircea.toma ICE-9890 Render the ID attribute for the anchor elements that represent the menu items in the page.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/BaseMenuRenderer.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: