On Thu, 15 Nov 2007 17:18:16 +0100, Massimo Azzolini wrote: > in the last months nicola senno did a work for his thesis at the > university about kss and dnd. > at the naples' sprint I would show to the guy that was there what he > did, but I couldn't since dnd support didn't work.
We were working to make it work, with partial success as you see later on. > now he made a video: http://it.youtube.com/watch?v=MGnSRwQuUTA > > In this video you can see the drag from of an object into the navigator > portlet and into the news portlet. when he releases the mouse (drop) via > kss he ask to the server what to do. the server replies with two > different menus one for each portlet. he did two adapters one for the > navportlet and one for the news one. everyone has his own logic written > on the server side. > > I think this could be a good approach. what do you think about it? Thanks, this is a nice video, although I find it a bit small and I get no sound with it on my machine. I can't really say anything without seeing and testing the code though, where is it? Also I have the repetitive feeling that we are suffering from communication problems. I think it would be essential at this point that Nicola comes to the mailing list himself (to this one or to plone-devel alike) and tell us about his code and experiences. Also the lack of communication is partly my mistake, so to correct this, I take the opportunity to spread some information around about the history of the kss dnd story so far: - First Godefroid and many others made a prototype dnd plugin that was based on scriptaculous and it worked in kss.demo. - Later I and Alec Mitchell made an enhanced version of the plugin that fulfilled our real life use cases, it worked on Plone 2.5 and is still running in production. It was not clean and not really public although the code is in codespeak. Alec showed it in his presentation about relations on the conference. The biggest experience of this (apart to see how extremely easy to use dnd from kss) is that the prototype library of dnd is not suitable to general purpose use from Plone, mainly because it only supported a single pool of dnd. (singleton class) And this is not sutable for generic application use. - On the sprint we targeted to port the existing plugin to Plone 3.0 and jQuery. We failed to finish this. Still I made the existing plugin work on Plone3, and I almost presented it on the second sprint day, (but the projector broke and in the end I just told about it). So the kss.plugins.sdnd does work, although it is for sure has problems. It is in the "kissbooth" project in Launchpad, and untouched since. Still it is not much use, since as I said it is unusable in Plone in its current state for anything else then prototyping. It does show though how you use the kss rule and parameters, and it does have two demos. -- Balazs Ree _______________________________________________ Kss-devel mailing list Kss-devel@codespeak.net http://codespeak.net/mailman/listinfo/kss-devel