Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Committed fix at revision 29144.