2.3.5 Adding portlets to a portal page

Now return to the Portal Configuration editor used in 2.3.3, Adding and modifying a portal page to add portlets to a portal page.

1. Expand Dynamic Web Projects | MyPortal.

2. Double-click Portal Configuration to open in the editor.

3. Add portlets to the Left Label of the Top Page.

a. Select the Left Label of the Top Page.

b. Drag and drop the Column button from the Palette View into the area of the Top Page that says Place portlet here.
By doing this, the layout of the page is changed to accommodate two portlets side-by-side as seen in Figure 2-29.

Figure 2-29 Adding a column

c. Right-click the left column and click Insert Portlet | As Child.

d. Select the Basic Portlet portlet as seen in Figure 2-30, and click OK.

Figure 2-30 Select portlet to insert

4. Add portlets to the Left Label of the Bottom Page.

a. Select the Left Label of the Bottom Page.

b. Drag and drop the Column button from the Palette View into the area of the Bottom Page that says Place portlet here.

c. Right-click the right column and click Insert Portlet | As Child.

d. Select the Form Portlet portlet and click OK.

5. Perform the same action to insert the Basic Portlet portlet to the Left Label of the Bottom Page (see Figure 2-31).

Figure 2-31 Basic portlet on the bottom page of the left label

6. Now click the Right Label.

7. Insert the Form Portlet onto this page (see Figure 2-32).

Figure 2-32 Inserting the form portlet into the right label new page

8. Click File | Save All to save all the changes made to your portal site.

Redbooks
ibm.com/redbooks