ICEfaces
  1. ICEfaces
  2. ICE-2680

dragEvent.getTargetDragValue() always null

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces

      Description


      The event passed to the dragListener returns null for event.getTargetDragObject()

      This can be seen in the following code from component-showcase that is far more complex than necessary:

              if (event.getEventType() == DndEvent.DROPPED) {
                  String targetId = event.getTargetClientId(); if ((targetId != null) &&
                      (targetId.indexOf("cartDropTarget") != -1)) {
                      String value = ((HtmlPanelGroup) event.getComponent())
                              .getDragValue().toString();

        Issue Links

          Activity

          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Adnan Durrani [ adnan.durrani ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Fix Version/s 1.7RC1 [ 10123 ]
          Fix Version/s 1.7 [ 10080 ]
          Harvey McQueen made changes -
          Attachment GroupRenderer.java.patch [ 10862 ]
          Adnan Durrani made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fix Version/s 1.7 [ 10080 ]
          Fix Version/s 1.7Beta1 [ 10121 ]
          Resolution Fixed [ 1 ]
          Adnan Durrani made changes -
          Link This issue blocks ICE-2753 [ ICE-2753 ]
          Adnan Durrani made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Adnan Durrani made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ted Goddard made changes -
          Fix Version/s 1.7Beta1 [ 10121 ]
          Ted Goddard made changes -
          Field Original Value New Value
          Assignee Adnan Durrani [ adnan.durrani ]
          Ted Goddard created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Ted Goddard
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: