cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and Drop UI in WD Java CE 7.2

Former Member
0 Kudos

Hi

In CE 7.11 we get DragItemListBox and DropItemListBox UI elements in Webdynpro Java to implement the drag-drop functionality.

I suppose this has been enhanced with the CE 7.2 release. But I am not finding the proper way or tutorial to implement the drag-drop functionality in WD in CE 7.2.

Please suggest the ways to implement this.

Thanks and Regards,

Sayan Ghosh

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

Hi,

I believe you can now use Table and Tree elements as well as Lists, but apart from that I don't think there are any further enhancements, so I would assume the same procedures applies for 7.11

Answers (2)

Answers (2)

Former Member
0 Kudos

closing Thread

pradeep_kumar5
Active Participant
0 Kudos

Hi sayan gosh,

I am also developing webdynpro java applications using CE7.2, i don't find any UI element DragItemListBox and DropItemListBox in webdynpro.

Regards,

Pradeep Kumar G

Qualiture
Active Contributor
0 Kudos

Hi Pradeed, Sayan,

I believe Sayan just means an ordinary ItemListBox with drag and drop functionality added (i.e. added DragSourceInfo and DropTargetInfo elements to the respective ItemListBox)

Have a look at http://help.sap.com/saphelp_nwce711core/helpdata/en/47/fc152d6be44aa7e10000000a421937/frameset.htm on implementing drag and drop

Former Member
0 Kudos

Hi Robin / Pradeep,

Thanks for the suggestions. What I found out was from CE 7.11 EPH1, the Drag and Drop feature was introduced. That time it was limited to ItemListBox.

With the release of CE 7.2, this feature has been majorly advanced. Like you can have DragSourceInfo UI elements from dragging from an image, table, ItemListBox, tree and so on... and a corresponding DropSourceInfo UI element where we can drop the dragged elements. The tag value of a particular DragSourceInfo and DropSourceInfo should be same.. so that u can drop the dragged items. Once dropped, the DropSourceInfo can fire an onDrop event where u can do all ur logic.

Moreover there is also something called DropTarget UI which basically provides a Container under that which can hold any UI element. The entire container under the DropTarget UI element is the drop area. We just need to to add a DropSourceInfo under that and provide the proper tag name and use the onDrop event.

Regards,

Sayan Ghosh