Portlet Factory, Version 6.1.2
Using the Dojo Drag Source and Drop Target Builders
This topic describes the steps to follow to use the Dojo Drag Source and Drop Target builders.
- Create a model or set of models with pages that will be used for drag and drop functionality.
- Add the Dojo Drag Source builder to your model. Select the desired page location as the drag source and select the data to pass to the drop target.
- Add a method to your target model that you wish to have invoked when the drag source is dropped onto the target. The method must take a single string argument. When this method is invoked it will be passed the data from the drag source. Add your logic to this method to take the appropriate action using the specified data.
- Add the Dojo Drop Target builder to your model. Select the desired page location as the drop target and select the new method action you created.
Library | Support |