Step 8: Test the Personalized Portlet

In this step, you will test the portlet to see personalization in action.

The tasks in this step are:

View the Sample Portal

View the portal containing the new personalized portlet. In the WebLogic Workshop menu, choose Portal --> Open Current Portal.

When the portal appears in the browser, the My Personalized Content portlet should not display content.

Log in as One User and View the Portlet

  1. In the Login portlet, log in with Username: classicuser Password: password.
  2. A personalized image should appear in the portlet.
  3. Click Logout. The personalized content disappears from the portlet.

Log in as the Other User and View the Portlet

  1. Log in with Username: modernuser Password: password.
  2. A different personalized image should appear in the portlet.

Congratulations! You have created a portlet that uses personalization.

Related Topics

Developing Personalized Applications

Assembling Portal Applications

<pz:contentSelector> Tag

<es:forEachInArray> Tag

Click the following arrow to navigate through the tutorial: