You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by flavius <fl...@silverlion.com> on 2011/02/01 05:16:46 UTC
JWicket drag/drop handle
I'm trying to create a widget/gadget (similar to google's home page or
yahoo).
I've got it largely figured out except for one thing. I'm trying to
restrict the
drag operation to just the top div (the header). So my widget will look
like this:
<div class="widget">
<div class="wheader">Drag here</div>
<div class="wbody">stuff goes here...</div>
</div>
This functionality is described in JQuery here:
http://jqueryui.com/demos/draggable/#handle
It seems like DraggableBehavior should have a setHandle method so I can
define
the draggable region.
Any thoughts?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/JWicket-drag-drop-handle-tp3250469p3250469.html
Sent from the Users forum 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: JWicket drag/drop handle
Posted by flavius <fl...@silverlion.com>.
This did the trick. setRawOptions is exactly what I needed.
Thanks Stefan
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/JWicket-drag-drop-handle-tp3250469p3253344.html
Sent from the Users forum 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