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 ...
Get Portlets in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.