Hi Mustafa,
here the complete Link. I get the message "Request denied by WatchGuard HTTP
Proxy. Reason: request URL path too large" if
I click the mentioned button.
http://demo.qooxdoo.org/devel/playground/#%7B%22code%22%3A%22%250Avar%2520list1%2520%253D%2520new%2520qx.ui.form.List%28%29%253B%250Alist1.setWidth%28100%29%253B%250Alist1.setHeight%28300%29%253B%250A%250Alist1.setDroppable%28true%29%253B%250A%250Avar%2520list2%2520%253D%2520new%2520qx.ui.form.List%28%29%253B%250Alist2.setWidth%28100%29%253B%250Alist2.setHeight%28300%29%253B%250A%250Avar%2520list3%2520%253D%2520new%2520qx.ui.form.List%28%29%253B%250Alist3.setWidth%28100%29%253B%250Alist3.setHeight%28300%29%253B%250A%250Athis.getRoot%28%29.add%28list1%252C%257Bleft%2520%253A%252020%252C%2520top%2520%253A%252020%257D%29%253B%250Athis.getRoot%28%29.add%28list2%252C%257Bleft%2520%253A%2520150%252C%2520top%2520%253A%252020%257D%29%253B%250Athis.getRoot%28%29.add%28list3%252C%257Bleft%2520%253A%2520280%252C%2520top%2520%253A%252020%257D%29%253B%250A%250Avar%2520listItem1%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522text_10%2522%29%253B%250Avar%2520listItem2%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522text_11%2522%29%253B%250Avar%2520listItem3%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522text_12%2522%29%253B%250A%250Alist2.add%28listItem1%29%253B%250Alist2.add%28listItem2%29%253B%250Alist2.add%28listItem3%29%253B%250Alist2.setDraggable%28true%29%253B%250A%250Avar%2520listItem1%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522text_20%2522%29%253B%250Avar%2520listItem2%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522text_21%2522%29%253B%250Avar%2520listItem3%2520%253D%2520new%2520qx.ui.form.ListItem%28%2522text_22%2522%29%253B%250A%250Alist3.add%28listItem1%29%253B%250Alist3.add%28listItem2%29%253B%250Alist3.add%28listItem3%29%253B%250Alist3.setDraggable%28true%29%253B%250A%250A%252F%252F%2520Drag%2520-%2520list2%250Alist2.addListener%2520%28%2522dragstart%2522%252C%2520function%2520%28e%29%2520%257B%250A%250A%2520%2520e.addAction%28%2522move%2522%29%253B%250A%2520%2520e.addType%28%2522qx%252Flist-items%2522%29%253B%250A%250A%257D%29%253B%250A%250Alist2.addListener%2520%28%2522droprequest%2522%252C%2520function%2520%28e%29%2520%257B%250A%250A%2520%2520var%2520type%2520%253D%2520e.getCurrentType%28%29%253B%250A%250A%2520%2520if%2520%28type%2520%253D%253D%2520%2522qx%252Flist-items%2522%29%250A%2520%2520%257B%250A%2520%2520%2520%2520var%2520items%2520%253D%2520this.getSelection%28%29%253B%250A%250A%2520%2520%2520%2520%252F%252F%2520Add%2520data%2520to%2520manager%250A%2520%2520%2520%2520e.addData%28type%252C%2520items%29%253B%250A%2520%2520%257D%250A%250A%257D%29%253B%250A%250A%252F%252F%2520Drag%2520-%2520list3%250Alist3.addListener%2520%28%2522dragstart%2522%252C%2520function%2520%28e%29%2520%257B%250A%250A%2520%2520e.addAction%28%2522move%2522%29%253B%250A%2520%2520e.addType%28%2522qx%252Flist-items%2522%29%253B%250A%250A%257D%252C%2520this%29%253B%250A%250Alist3.addListener%2520%28%2522droprequest%2522%252C%2520function%2520%28e%29%2520%257B%250A%250A%2520%2520%2520%2520var%2520type%2520%253D%2520e.getCurrentType%28%29%253B%250A%250A%2520%2520if%2520%28type%2520%253D%253D%2520%2522qx%252Flist-items%2522%29%250A%2520%2520%257B%250A%2520%2520%2520%2520var%2520items%2520%253D%2520this.getSelection%28%29%253B%250A%250A%2520%2520%2520%2520%252F%252F%2520Add%2520data%2520to%2520manager%250A%2520%2520%2520%2520e.addData%28type%252C%2520items%29%253B%250A%2520%2520%257D%250A%250A%257D%29%253B%250A%250A%252F%252F%2520Drop%2520-%2520list1%250Alist1.addListener%2520%28%2522drop%2522%252C%2520function%2520%28e%29%2520%257B%250A%250A%2520%2520var%2520type%2520%253D%2520e.getCurrentType%28%29%253B%250A%2520%2520var%2520data%2520%253D%2520e.getData%28%2522qx%252Flist-items%2522%29%253B%250A%250A%257D%29%253B%250A%250A%22%2C%20%22mode%22%3A%22ria%22%7D
Cheers,
Phil
Von: Mustafa Sak [mailto:[email protected]]
Gesendet: Dienstag, 24. Juli 2012 10:47
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] drag and drop types
Hi Phil,
could you please provide a playground example. Your link points just to
playground without example. Please use tinyurl button on the right side of the
toolbar to create a link.
By the way, our events are providing methods to determine which object fired
the event like (.getTarget(), .getCurrentTraget(), .getRelatedTarget()) may be
one of these can help you out.
Regards Mustafa
Von: Philipp Engel [mailto:[email protected]]<mailto:[mailto:[email protected]]>
Gesendet: Dienstag, 24. Juli 2012 09:14
An:
[email protected]<mailto:[email protected]>
Betreff: [qooxdoo-devel] drag and drop types
Hi,
I got three lists. I would like to drop to list1 and would like to know from
which list (list2, list3) the drop
comes from. How can I do this.
In the documentation I read, that I can add any Qooxdoo "type" as parameter to
method "e.addType()".
Could you give me an example, of types I can add, please.
Here, my playground:
playground<http://demo.qooxdoo.org/devel/playground/>
Cheers,
Phil
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel