[Kss-devel] drag and drop in Plone 3.0

Sam Stainsby sam at sustainablesoftware.com.au
Thu Jun 21 05:48:48 CEST 2007


Not sure if this should be kss.devel or plone.devel. Let me know if
inappropriate.

I'm trying to add some KSS drag and drop mechanisms in Plone 3.0 beta 3
for a new multimedia database project that has some decent funding behind
it. I have looked at KSS and kss.demo and decided the overall its pretty
damn good and I'm excited at the prospect of working with it
and adding new plugins and helping to develop anything else that needs to
be done.

After playing around for a while, I discovered (I think) that I need to add
'++resource++dragdrop.js' to portal_javascripts to allow any kind of KSS
drag and drop to happen within Plone 3.0. I have emulated the demo.kss
drag and drop HTML and KSS. However, when I try to drag a draggable, it
stays put and I get at lot of the following errors turing up in Firebug
(Firefox 2.0.0.4 on Linux):

this.map(Object.inspect) has no properties
inspect()++resource++proto... (line 570)
updateDrag(mousemove clientX=0, clientY=0)++resource++dragd... (line 175)
bindAsEventListener(mousemove clientX=0, clientY=0)++resource++proto... (line 78)
[Break on this error] return '[' + this.map(Object.inspect).join(', ') + ']';

I hoping I'm missing something that's obvious to KSS regulars. I
suspect a missing javascript library or at least an incompatible one.
Any ideas?

Cheers,
Sam.



More information about the Kss-devel mailing list