You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sarkast <to...@googlemail.com> on 2008/06/09 15:58:47 UTC
Javascript/Ajax in wicket, how to?
Hi there,
Another basic(?) question. I have a small test application where I drag and
drop square shaped divs around.
With ajax I pick those shapes up, so to speak and drop those shapes,
listening for onmousedown and onmouseup events, however I would also like to
display the actual dragging. I assume that Ajaxeventbehaviors are not
suitable for this (generating many requests (correct me if I'm wrong)), thus
I would like to use javascript, however I have no idea how, especially since
the onmousedown event will call 2 javascript methods, one from wicket for
the Ajaxeventbehavior and one for my client side javascript.
Could someone help me out or point me to a tutorial, I'm unable to find an
understandable one :-/
Tom
--
View this message in context: http://www.nabble.com/Javascript-Ajax-in-wicket%2C-how-to--tp17733416p17733416.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Javascript/Ajax in wicket, how to?
Posted by wicket user <di...@googlemail.com>.
check the wicket stuff jquery and wicket stuff jquery examples
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery-examples
regards
dipu
On Mon, Jun 9, 2008 at 2:58 PM, Sarkast <to...@googlemail.com> wrote:
>
> Hi there,
>
> Another basic(?) question. I have a small test application where I drag and
> drop square shaped divs around.
>
> With ajax I pick those shapes up, so to speak and drop those shapes,
> listening for onmousedown and onmouseup events, however I would also like
> to
> display the actual dragging. I assume that Ajaxeventbehaviors are not
> suitable for this (generating many requests (correct me if I'm wrong)),
> thus
> I would like to use javascript, however I have no idea how, especially
> since
> the onmousedown event will call 2 javascript methods, one from wicket for
> the Ajaxeventbehavior and one for my client side javascript.
>
> Could someone help me out or point me to a tutorial, I'm unable to find an
> understandable one :-/
>
> Tom
> --
> View this message in context:
> http://www.nabble.com/Javascript-Ajax-in-wicket%2C-how-to--tp17733416p17733416.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>