Chapter 6. Working with Applications

Application integration
Developing your own applications
Gadget vs Portlet
Gadget development quick-start with IDE
Portlet Bridges

To add a portlet to one of your portal's pages, you should configure the pages.xml file located in /war/src/main/webapp/WEB-INF/conf/sample-ext/portal/portal/classic/.

Here is an example of a portlet configuration inside pages.xml:

Here are the details about this configuration:

XML tag name Description Example
application-ref The name of the webapp that contains the portlet
portlet-ref The name of the portlet
title The title of the page, HTML speaking
access-permission Who can access the portlet :platform/users (membership:group)
show-info-bar Show the top bar with the portlet title
show-application-state Show the collapse/expand icons
show-application-mode Show the change portlet mode icon
preferences Contains a list of preference specific to each portlet. Each preference has a name and a value. You can also lock it by setting the read-only element to true. CF reference guide.