if (canSetValueForBinding("droppedObject")) { WOComponent page = context.page(); Object droppedObject = AjaxDraggable.draggableObjectForPage(page, droppedDraggableID); setValueForBinding(droppedObject, "droppedObject"); }
} if (canSetValueForBinding("droppedObject")) { WOComponent page = context.page(); Object droppedObject = AjaxDraggable.draggableObjectForPage(page, droppedDraggableID); setValueForBinding(droppedObject, "droppedObject");
  protected WOActionResults handleRequest(WORequest request, WOContext context) {    String droppedDraggableID = request.stringFormValueForKey(_draggableIDKeyName);    if (canSetValueForBinding("droppedDraggableID")) {      setValueForBinding(droppedDraggableID, "droppedDraggableID");      if (canSetValueForBinding("droppedObject")) {        WOComponent page = context.page();        Object droppedObject = AjaxDraggable.draggableObjectForPage(page, droppedDraggableID);        setValueForBinding(droppedObject, "droppedObject");      }    }    if (canGetValueForBinding("action")) {      WOActionResults results = (WOActionResults) valueForBinding("action");      if (results != null) {        System.out.println("AjaxDroppable.handleRequest: Not quite sure what to do with non-null results yet ...");      }    }    return null;  }