Thanks Derrell,

for pointing me in the right direction.

adding a

#require(qx.event.handler.DragAndDropHandler)

to the application solved my problem.

Maybe this should be documented at
http://qooxdoo.org/documentation/user_manual/drag_drop


thank you very much :-)


Hubert
---
[EMAIL PROTECTED] schrieb:
> Hubert Denkmair <[EMAIL PROTECTED]> writes:
>
>   
>> Hello again,
>>
>> seems like the sf mail server has some problems, my first
>> mail today didn't get through the list until now...
>> However, I built a test case to demonstrate my problem:
>>
>> http://qooxdoo.denkmair.de/dragdrop/source/
>> http://qooxdoo.denkmair.de/dragdrop/build/
>>
>> Drag&drop works in the source version, but is broken in the
>> build version - the dragstart event won't get fired at all there.
>>
>> This seems to be true for at least qooxdoo-0.6.6,
>> FF2/Linux, FF2/Windows and IE6,
>> and Label, Atom, Table and Treefullcontrol as drag sources.
>>
>> I can't believe that nobody has noticed that until now, but
>> I didn't find any information regarding this on the website or the
>> mailing list.
>>
>> Don't think I'd do something wrong in such a easy test case, either:
>>
>> qx.Proto.main = function(e)
>> {
>>   var a = new qx.ui.basic.Atom('Drag & Drop test, Drag me!');
>>   a.set({ left:100, top:100, backgroundColor:'white' });
>>   a.addToDocument();
>>   a.addEventListener('dragstart', function(e) {
>>     this.setLabel('Yep, it works');
>>     e.addData('test/test',this);
>>     e.startDrag();
>>   },a);
>> };
>>
>>
>> help me! :-)
>>     
>
> I recall some issue with 0.6.6 where the generator didn't automatically
> recognize that drag & drop was being used, and so didn't pull in some
> needed classes.  I think you need to add a #require line to your source
> file, but I don't recall what needs to be required.  Maybe this'll jog
> someone else's memory.
>
> Derrell
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to