ICEfaces
  1. ICEfaces
  2. ICE-7618

ace:droppable: ace:ajax event 'drop' not being triggered

    Details

    • Assignee Priority:
      P1

      Description

      The ace:ajax event 'drop' is not getting triggered when releasing an ace:draggable enabled component onto it. When this event is used in combination with the dropListener neither of them are triggered. However, when dropListener is used by itself it functions fine.

      To reproduce:
      1. Build / deploy test application
      2. Navigate to 'Drag/Drop Ajax' test page
      3. Drop the draggable panel into the drop area.
      Note that the actual result is not what is expected. There are some print statements in the ajax listener for debugging as well.

        Activity

        Cruz Miraback created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Assignee Priority P1
        Assignee Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27129 Tue Jan 10 12:14:41 MST 2012 art.zambrano ICE-7618 fixed by adding an empty node with the client id for the AjaxRequest function; added code to check the event type for avoiding type mismatch exceptions when using 'dropListener' attribute
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DroppableRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/Droppable.java
        Hide
        Arturo Zambrano added a comment -

        Fixed at revision 27129.

        Fixed by adding an empty node with the client id for the AjaxRequest function; added code to check the event type for avoiding type mismatch exceptions when using 'dropListener' attribute.

        Show
        Arturo Zambrano added a comment - Fixed at revision 27129. Fixed by adding an empty node with the client id for the AjaxRequest function; added code to check the event type for avoiding type mismatch exceptions when using 'dropListener' attribute.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Carmen Cristurean added a comment -

        Fix has been verified with revision 27135 in all major browsers.

        Show
        Carmen Cristurean added a comment - Fix has been verified with revision 27135 in all major browsers.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27157 Wed Jan 11 15:07:11 MST 2012 art.zambrano ICE-7618 minor fix to trigger both the ace:ajax listener and the 'dropListener' listener in one submit
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/dnd/dragdrop.js
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: