O'Reilly logo

Portlets in Action by Ashish Sarin

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

Chapter 3. Portlet 2.0 API—portlet objects and container-runtime options

This chapter covers

  • Using the portlet container’s request and response objects
  • Adding external JavaScript and CSS files to a portal page
  • Accessing a logged-in user’s information via user attributes
  • Understanding PortletContext, PortletConfig, and PortletSession
  • Using container-runtime options

In the context of the example User Registration portlet, chapter 2 introduced you to some of the classes and interfaces of the Portlet 2.0 specification. This chapter and the next will provide comprehensive coverage of the Portlet 2.0 API using an example Book Catalog portlet.

In this chapter, we’ll look at portlet objects, methods, and features that you’ll come across often ...

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