Last modified by Pascal Robert on 2010/09/12 03:19

Hide last authors
Pascal Robert 4.1 1 === AjaxDroppable ===
smmccraw 1.1 2
Pascal Robert 4.1 3 AjaxDroppable represents the second half of the drag-and-drop implementation in Ajax framework. AjaxDroppable also uses a WOComponentContent, so any content that you would like to appear in the drop target should be inside of the AjaxDroppable's webobject tags.
smmccraw 1.1 4
Pascal Robert 4.1 5 An example of the Scriptaculous drag-and-drop is available [[here>>url:http://demo.script.aculo.us/shop||shape="rect"]].
smmccraw 1.1 6
Pascal Robert 4.1 7 ==== Wonder Bindings ====
smmccraw 1.1 8
9 * id (required) - the ID of the Droppable element
10 * elementName - the name of the HTML element to wrap the Droppable, either: "div" or "span"
11 * droppedDraggableID - the draggableID of the Draggable that was dropped on this Droppable
12 * action - the action that is fired when the drop occurs
13 * droppedObject - the object that was dropped (if droppableObject was bound on the AjaxDraggable)
14
Pascal Robert 4.1 15 ==== Scriptaculous Bindings ====
smmccraw 1.1 16
Pascal Robert 4.1 17 [[Scriptaculous Documentation>>url:http://wiki.script.aculo.us/scriptaculous/show/Droppables||shape="rect"]]
smmccraw 1.1 18
19 * accept
20 * containment
21 * hoverclass
22 * overlap
23 * greedy
24 * onHover
25 * onDrop