O'Reilly logo

ICEfaces 1.8 by Rainer Eschen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Drag-and-drop

Drag-and-drop is a concept that allows dragging a visual entity on the desktop and dropping it in a different place to trigger an event. The desktop file explorer is doing this when you move a file from one folder to another.

Today's AJAX frameworks also deliver this functionality for the web browser. ICEfaces' drag-and-drop feature is based on the AJAX framework, script.aculo.us. So, you can use the effects that this framework delivers in your web application.

Drag-and-drop is realized through two <ice:panelGroup> definitions:

<ice:panelGroup draggable="true" dragOptions="dragGhost" dragMask="dragging,drag_cancel,hover_start,hover_end" dropMask="dragging,drag_cancel,hover_start,hover_end" dragListener="#{dadSelector.dragListener}" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required