it seems like you're talking about the DnD version of the Palette component
in wicket extensions.. See its source code, maybe it will give you some
idea.. 




Neil McT wrote:
> 
> Hi,
> 
> I'm wondering what would be the best way to enable dhtml drag n drop in
> Wicket.
> 
> Its a fairly typical use-case.... I have 2 divs, one is a container of
> draggables, the other is a container of droppables - i.e. where the
> draggables will be dragged to. This is not an ajax question as there is no
> need for any server side round-trip on each drop - only some kind of
> submit button once the user is happy with what they have dragged on.
> 
> I have the front-end component working (using jquery ui drag n drop) but
> my question is... what would be the recommended way to communicate the
> dropped objects to the server side using wicket? I.e. what would be the
> recommended component to bind the 'droppable' container (or individual
> droppable objects) to and how would you guys recommend that I reconstruct
> the dropped objects on the server side?
> 
> I have thought of various ways I can enable this, but none of these seem
> particularly like the 'right' Wicket way - and kind of smack of the way I
> would have done things in, say, struts.
> 
> Thanks in advance.
> 

-- 
View this message in context: 
http://www.nabble.com/DHTML-DnD-best-practice--tp20010633p20012188.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to