O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.1. Overview

The JSR 168 sample portlet shown in this chapter will allow you to implement the following:

  • You will enter your name and select the color that it is displayed in.

  • You will also be able to add new colors to use.

  • A user with administration rights will be able to change the greeting that appears before your name.

  • You will use the PortletPreferences object to store the colors and greeting.

  • A JavaBean, stored in the PortletSession, will store the currently selected color, name, and greeting.

  • The PortletPreferencesValidator will be used to validate the color before adding it to the portletpreferences object.

  • The portlet will show the render and action phases of the JSR 168 portlet API.

  • It will also display the View, Edit, Config, and Help modes. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required