Exercise 1.7: Viewing the sample portlets

Before you begin, you should complete Exercise 1.6: Deciding which API to use.

In this exercise, you will see the rendered output of the portlets in the two bookmark sample portlets.

The following images show the rendered portlets.

View mode

The following images show both portlets after they have been placed on a page. No bookmarks have been added. The View.jsp file for the JSR 168 portlet displays the bookmark predefined in the <portlet-preferences> element of portlet.xml.

portlet view mode for the JSR 168 portlet API sample
portlet view mode for the IBM portlet API sample

Edit mode

The following images show the edit mode for both portlets.

portlet edit mode for the JSR 168 portlet API sample
portlet edit mode for the IBM portlet API sample

Final view

The following images show both portlets after the same edits have been performed.

IBM portlet after editing
JSR 168 portlet after editing

Finish your tutorial by reviewing the materials in the Summary.

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.