You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Sean Sullivan <se...@seansullivan.com> on 2007/06/22 01:16:24 UTC

Drag and drop

Is there drag/drop code in svn.apache.org?  Where?



On 4/7/07, Martijn Dashorst <ma...@gmail.com> wrote:
>
> In our review by the IPMC a questions has popped up on our drag/drop
> library. I tried to find the exact license, but couldn't find it:
> creative commons 2.0 is very ambiguous at best.
>
> Searching for the js library brought me to dynamic drive [1] and it
> has the following license for all js files on their site [2]. In short
> we are not allowed to package the dom-drag.js file with Wicket under
> those terms.
>
> Couple of questions:
> - how did we find out it was distributed under the CC 2.0 license
> (dynamic drive doesn't have that in the mentioned file)
> - which CC 2.0 license is meant?
> - can we replace it with something ASL compatible?
> - can we get a new license from the author (he must be in a good
> mood, he's engaged and all [3])?
>
> I've created a JIRA issue (WICKET-448) for this [4].
>
> Martijn
>
> [1] http://www.dynamicdrive.com/dynamicindex11/domdrag/
> [2] http://www.dynamicdrive.com/notice.htm
> [3] http://www.youngpup.net/2007/03/engaged.html
> [4] http://issues.apache.org/jira/browse/WICKET-448

Re: Drag and drop

Posted by Eelco Hillenius <ee...@gmail.com>.
On 6/22/07, Martin Funk <fu...@arcor.de> wrote:
> That's were 'ctrl' + 'r' comes into play.
>
> Figure it out once and your history never forgets:-)
> And if it does beefing up 'export HISTSIZE=5000' might help.

Indeed :) I also keep a document around with my favorite tricks.
Though I'll never be unix wiz I'm afraid.

Eelco

Re: Drag and drop

Posted by Martin Funk <fu...@arcor.de>.
That's were 'ctrl' + 'r' comes into play.

Figure it out once and your history never forgets:-)
And if it does beefing up 'export HISTSIZE=5000' might help.

mf

Eelco Hillenius schrieb:
> And the best thing about these unix commands is that they are so 
> obvious :)
>
> Eelco
>
>
> On 6/21/07, Martin Funk <fu...@arcor.de> wrote:
>> Martijn Dashorst schrieb:
>> > The benefits of unix:
>> >
>> > find jdk-1.4/wicket -name "*.js" | xargs grep -E "rag|rop"
>> >
>> > delivers
>> > jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
>> >
>> >
>> Martijn please don't hit me for this, or as a former college of mine
>> always says: "grep is one of the most underestimated unix commands"
>>
>> grep -r --include='*.js' -E 'rag|rop' jdk-1.4/wicket
>>
>> mf
>>


Re: Drag and drop

Posted by Eelco Hillenius <ee...@gmail.com>.
And the best thing about these unix commands is that they are so obvious :)

Eelco


On 6/21/07, Martin Funk <fu...@arcor.de> wrote:
> Martijn Dashorst schrieb:
> > The benefits of unix:
> >
> > find jdk-1.4/wicket -name "*.js" | xargs grep -E "rag|rop"
> >
> > delivers
> > jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
> >
> >
> Martijn please don't hit me for this, or as a former college of mine
> always says: "grep is one of the most underestimated unix commands"
>
> grep -r --include='*.js' -E 'rag|rop' jdk-1.4/wicket
>
> mf
>

Re: Drag and drop

Posted by Martin Funk <fu...@arcor.de>.
Martijn Dashorst schrieb:
> The benefits of unix:
>
> find jdk-1.4/wicket -name "*.js" | xargs grep -E "rag|rop"
>
> delivers 
> jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
>
>
Martijn please don't hit me for this, or as a former college of mine 
always says: "grep is one of the most underestimated unix commands"

grep -r --include='*.js' -E 'rag|rop' jdk-1.4/wicket

mf

Re: Drag and drop

Posted by Sean Sullivan <se...@seansullivan.com>.
Found it:

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-scriptaculous/src/java/org/wicketstuff/scriptaculous/dragdrop/DraggableBehavior.java


On 6/21/07, Ryan Sonnek <ry...@gmail.com> wrote:
>
> You might want to check out wicketstuff-scriptaculous.  There's a
> DraggableBehavior that's built on the excellent scriptaculous javascript
> library.
>
> On 6/21/07, Sean Sullivan <se...@seansullivan.com> wrote:
> >
> > Thanks Martijn.
> >
> > How does an application developer use Wicket.Drag?    Will there be a
> > DraggableBehavior (IBehavior) object?
> >
> > Sean
> >
> >
>

Re: Drag and drop

Posted by Ryan Sonnek <ry...@gmail.com>.
You might want to check out wicketstuff-scriptaculous.  There's a
DraggableBehavior that's built on the excellent scriptaculous javascript
library.

On 6/21/07, Sean Sullivan <se...@seansullivan.com> wrote:
>
> Thanks Martijn.
>
> How does an application developer use Wicket.Drag?    Will there be a
> DraggableBehavior (IBehavior) object?
>
> Sean
>
>
> On 6/21/07, Martijn Dashorst <ma...@gmail.com> wrote:
> >
> > The benefits of unix:
> >
> > find jdk-1.4/wicket -name "*.js" | xargs grep -E "rag|rop"
> >
> > delivers jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-
> > ajax.js
> >
> >
> > Martijn
> >
> >
> > On 6/22/07, Sean Sullivan <se...@seansullivan.com> wrote:
> > > Is there drag/drop code in svn.apache.org?  Where?
> > >
> > >
> > >
> > > On 4/7/07, Martijn Dashorst <ma...@gmail.com> wrote:
> > > >
> > > > In our review by the IPMC a questions has popped up on our drag/drop
> > > > library. I tried to find the exact license, but couldn't find it:
> > > > creative commons 2.0 is very ambiguous at best.
> > > >
> > > > Searching for the js library brought me to dynamic drive [1] and it
> > > > has the following license for all js files on their site [2]. In
> short
> > > > we are not allowed to package the dom-drag.js file with Wicket under
> > > > those terms.
> > > >
> > > > Couple of questions:
> > > > - how did we find out it was distributed under the CC 2.0 license
> > > > (dynamic drive doesn't have that in the mentioned file)
> > > > - which CC 2.0 license is meant?
> > > > - can we replace it with something ASL compatible?
> > > > - can we get a new license from the author (he must be in a good
> > > > mood, he's engaged and all [3])?
> > > >
> > > > I've created a JIRA issue (WICKET-448) for this [4].
> > > >
> > > > Martijn
> > > >
> > > > [1] http://www.dynamicdrive.com/dynamicindex11/domdrag/
> > > > [2] http://www.dynamicdrive.com/notice.htm
> > > > [3] http://www.youngpup.net/2007/03/engaged.html
> > > > [4] http://issues.apache.org/jira/browse/WICKET-448
> > >
> >
> >
> > --
> > BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache
> > Wicket
> > Join the wicket community at irc.freenode.net: ##wicket
> > Wicket 1.2.6 contains a very important fix. Download Wicket now!
> > http://wicketframework.org
> >
>

Re: Drag and drop

Posted by Eelco Hillenius <ee...@gmail.com>.
> How does an application developer use Wicket.Drag?    Will there be a
> DraggableBehavior (IBehavior) object?

It is used for the Ajax debug panel. Not sure if Wicket.Drag is used
for anything besides that. But there are multiple Wicket-stuff
projects that have support for drag and drop. See
http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki (I think Dojo
integration has it and
http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+Draggables
looks like it).

Eelco

Re: Drag and drop

Posted by Sean Sullivan <se...@seansullivan.com>.
Thanks Martijn.

How does an application developer use Wicket.Drag?    Will there be a
DraggableBehavior (IBehavior) object?

Sean


On 6/21/07, Martijn Dashorst <ma...@gmail.com> wrote:
>
> The benefits of unix:
>
> find jdk-1.4/wicket -name "*.js" | xargs grep -E "rag|rop"
>
> delivers jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-
> ajax.js
>
>
> Martijn
>
>
> On 6/22/07, Sean Sullivan <se...@seansullivan.com> wrote:
> > Is there drag/drop code in svn.apache.org?  Where?
> >
> >
> >
> > On 4/7/07, Martijn Dashorst <ma...@gmail.com> wrote:
> > >
> > > In our review by the IPMC a questions has popped up on our drag/drop
> > > library. I tried to find the exact license, but couldn't find it:
> > > creative commons 2.0 is very ambiguous at best.
> > >
> > > Searching for the js library brought me to dynamic drive [1] and it
> > > has the following license for all js files on their site [2]. In short
> > > we are not allowed to package the dom-drag.js file with Wicket under
> > > those terms.
> > >
> > > Couple of questions:
> > > - how did we find out it was distributed under the CC 2.0 license
> > > (dynamic drive doesn't have that in the mentioned file)
> > > - which CC 2.0 license is meant?
> > > - can we replace it with something ASL compatible?
> > > - can we get a new license from the author (he must be in a good
> > > mood, he's engaged and all [3])?
> > >
> > > I've created a JIRA issue (WICKET-448) for this [4].
> > >
> > > Martijn
> > >
> > > [1] http://www.dynamicdrive.com/dynamicindex11/domdrag/
> > > [2] http://www.dynamicdrive.com/notice.htm
> > > [3] http://www.youngpup.net/2007/03/engaged.html
> > > [4] http://issues.apache.org/jira/browse/WICKET-448
> >
>
>
> --
> BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache
> Wicket
> Join the wicket community at irc.freenode.net: ##wicket
> Wicket 1.2.6 contains a very important fix. Download Wicket now!
> http://wicketframework.org
>

Re: Drag and drop

Posted by Martijn Dashorst <ma...@gmail.com>.
The benefits of unix:

find jdk-1.4/wicket -name "*.js" | xargs grep -E "rag|rop"

delivers jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js


Martijn


On 6/22/07, Sean Sullivan <se...@seansullivan.com> wrote:
> Is there drag/drop code in svn.apache.org?  Where?
>
>
>
> On 4/7/07, Martijn Dashorst <ma...@gmail.com> wrote:
> >
> > In our review by the IPMC a questions has popped up on our drag/drop
> > library. I tried to find the exact license, but couldn't find it:
> > creative commons 2.0 is very ambiguous at best.
> >
> > Searching for the js library brought me to dynamic drive [1] and it
> > has the following license for all js files on their site [2]. In short
> > we are not allowed to package the dom-drag.js file with Wicket under
> > those terms.
> >
> > Couple of questions:
> > - how did we find out it was distributed under the CC 2.0 license
> > (dynamic drive doesn't have that in the mentioned file)
> > - which CC 2.0 license is meant?
> > - can we replace it with something ASL compatible?
> > - can we get a new license from the author (he must be in a good
> > mood, he's engaged and all [3])?
> >
> > I've created a JIRA issue (WICKET-448) for this [4].
> >
> > Martijn
> >
> > [1] http://www.dynamicdrive.com/dynamicindex11/domdrag/
> > [2] http://www.dynamicdrive.com/notice.htm
> > [3] http://www.youngpup.net/2007/03/engaged.html
> > [4] http://issues.apache.org/jira/browse/WICKET-448
>


-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org