Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 4. Portlet 2.0 API—caching, secu... > Portlet window states in depth

4.4. Portlet window states in depth

In this section, we’ll look at the WindowState class and how to define support for custom window states. We’ll also look at how the Book Catalog portlet makes use of Liferay Portal’s custom pop_up window state to show a printable book catalog with no window decoration.

The window state of a portlet is represented by the Portlet API’s WindowState class. This class defines (as constants) the three standard window states that portlets support: NORMAL, MINIMIZED, and MAXIMIZED.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial