Before you begin
You learn how to:
- Create a portlet containing items (geometric shapes in various colors, in this case) which are "draggable"
- Create a portlet that provides drop zones related to the types of items in the first portlet
- Use the WebSphere Portal tag library to enable the drag-and-drop capabilities
- Test the drag-and-drop capabilities of the two portlets in either Rational Application Developer's Test Environment, or by deploying the portlets to WebSphere Portal V6.0.1
To work through the steps in this tutorial, you need:
- IBM Rational® Application Developer V7.0 (hereafter called Application Developer). A link to a trial download is available in the Resources section. Although it is not required, you might want to upgrade to the last release of Application Developer.
- The test environment that is included in Application Developer is
WebSphere Portal 6.0. You need to upgrade this environment to
V6.0.1. Otherwise, pages containing portlets using the
drag-and-drop feature will show erratic behaviour.
Tip: When applying the fix pack, read the instructions and adjust the timeout values for your environment. Otherwise, the fix pack installation might fail.
You need to have a working of Java™ and programming portlets is required to understand the explanations. See the Resources list for references which can help you get some of these skills.
Included with this article (in the Download section) is the complete code for the portlets in the sample scenario. The file is in Project Interchange format. To load this file into Application Developer:
- Select File => Import => Project Interchange.
- In the project selection dialog, select all the projects available, DragNDrop and DragNDropEAR.


