ICEfaces
  1. ICEfaces
  2. ICE-8102

REGRESSION: showcase: ace:contextMenu in table integration demo doesn't show again after activating a menu item

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA1
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Workaround Exists:
      Yes
    • Workaround Description:
      Just wrap the table component inside an h:panelGroup component and attach the context menu to this component instead using its id.

      Description

      In the ICEfaces showcase application, in the Table Integration demo for ace:contextMenu, if one activates the context menu with a right click somewhere on the table and selects the "Add Rows" menu option, the table is updated with more rows, but it's not possible to display the context menu again.

      The problem has to do with delegated events (previously using the live() method in jQuery, now using the on() method with a selector). Since, the whole table is replaced in this demo, the original node that observed the right click event to display the context menu is replaced by the new table, so the menu doesn't show again.

        Activity

        Arturo Zambrano created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Summary showcase: ace:contextMenu in table integration demo doesn't show again after activating a menu item REGRESSION: showcase: ace:contextMenu in table integration demo doesn't show again after activating a menu item
        Salesforce Case []
        Fix Version/s 3.1.0.BETA2 [ 10336 ]
        Fix Version/s 3.1 [ 10312 ]
        Affects Version/s 3.1.0.BETA1 [ 10335 ]
        Affects Version/s 3.0.1 [ 10282 ]
        Assignee Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29144 Tue May 22 12:36:39 MDT 2012 art.zambrano ICE-8102 fixed... showcase: ace:contextMenu in table integration demo doesn't show again after activating a menu item
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/wijmo/wijmo.js
        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 29144.

        Show
        Arturo Zambrano added a comment - Committed fix at revision 29144.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: