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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: