Wiki source code of Project WONDER-Frameworks-Ajax-AjaxDroppable
Last modified by Pascal Robert on 2010/09/12 03:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | === AjaxDroppable === | ||
2 | |||
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. | ||
4 | |||
5 | An example of the Scriptaculous drag-and-drop is available [[here>>url:http://demo.script.aculo.us/shop||shape="rect"]]. | ||
6 | |||
7 | ==== Wonder Bindings ==== | ||
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 | |||
15 | ==== Scriptaculous Bindings ==== | ||
16 | |||
17 | [[Scriptaculous Documentation>>url:http://wiki.script.aculo.us/scriptaculous/show/Droppables||shape="rect"]] | ||
18 | |||
19 | * accept | ||
20 | * containment | ||
21 | * hoverclass | ||
22 | * overlap | ||
23 | * greedy | ||
24 | * onHover | ||
25 | * onDrop |