Wicket Drag and drop functionality for adding an image

Posted by Marcel on Stack Overflow See other posts from Stack Overflow or by Marcel
Published on 2012-12-12T14:00:30Z Indexed on 2012/12/13 11:05 UTC
Read the original article Hit count: 307

Filed under:
|
|

I'm making a wicket app that can manage some options for a cashdesk app. One of the options is to change the image of a selected Product.

The user(manager) can choose from the already present images in the database (SQL) when this option is selected, or add a new image if the desired image is not present. Don't mention the test names and awesome images (it's still in test-fase)Don't mention the test names and awesome images (it's still in test-fase)

I prefer to see the adding of an image achieved by Drag and Drop html5 demo [dnd-upload]
(From the desktop into the browser)

I'm currently using Wicket-6.2.0 and wicket-dnd 0.5.0 and i can't seem to get this working! All examples I can find are from wicket 2.x or lower.

It is possible to use drag and drop in Wicket-6.2, but how do I achieve this?

There seems to be some DraggableBehavior in wicket? Any help is welcome!

[UPDATE]

Upgraded to wicket-dnd 0.6

© Stack Overflow or respective owner

Related posts about java

Related posts about drag-and-drop