Hello all, I am trying to implement simple drag-drop functionality in MyFaces using the Dojo Toolkit. So , I took the basic example from the Book and tried to use it within myFaces : http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo/drag-and-drop
Code for my JSP page : [EMAIL PROTECTED] prefix="h" uri="http://java.sun.com/jsf/html"%> <[EMAIL PROTECTED] prefix="f" uri="http://java.sun.com/jsf/core"%> <[EMAIL PROTECTED] prefix="t" uri="http://myfaces.apache.org/tomahawk"%> <t:dojoInitializer debug="true" development="true" parseWidgets="false" provide="dojo.dnd.DragSource" require="dojo.dnd.*" /> <f:verbatim> style type="text/css" .target {border: 1px dotted gray; width: 300px; height: 300px;padding: 5px;} .source {border: 1px dotted skyblue;height: 200px; width: 300px;} .bluesquare {height:50px;width:100%;background-color:skyblue} .redsquare {height:50px;width:100%;background-color:red} style <!-- Create a source with two nodes --> <div dojoType="dojo.dnd.DragSource" jsId="c1" class="source"> SOURCE <div class="dojoDndItem" dndType="blue"> <div class="bluesquare">BLUE</div> </div> <div class="dojoDndItem" dndType="red,darkred"> <div class="redsquare">RED</div> </div> </div> <!-- Create a target that accepts nodes of type red and blue. --> <div dojoType="dojo.dnd.DropTarget" jsId="c2" class="target" accept="blue,darkred"> TARGET </div> </f:verbatim> <h:messages /> Obviously it does not work, I checked the .js files for Drag and Drop in myFaces jar(1.1.7 Snapshot) and found out that the .js files are not the same as in the new Dojo version. So , I tried to use what is possible, ie. DragSource instead of Source as in the original example. Can some one point out what the problem could be....? Thx for any response, best wishes Janap -- View this message in context: http://www.nabble.com/Dojo-drag-drop-in-MyFaces-tp18731268p18731268.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

