Note on Developing Portlets

From version 6.0.4 the Portal Manager includes a Java API which is required for developing portlets. The API can be found in the /share/doc/javadoc/portlet-api directory, the documentation of the classes is located in the /share/doc/javadoc/pm directory. Please open the file index.html in this directory and also take a look at the packet overview (overview).

In the installation directory, you can find in the examples/portlet directory a sample portlet web application including a couple of sample portlets. This web application can be deployed to /PM-EX using the supplied ant build file.

Each portlet web application of the Portal Manager includes a servlet with which the portlets can be tested without embedding them into the content. The path of this servlet is /webapp/debug/, with webapp standing for the web application, for example /PM-EX/debug/. It outputs links to the portlets contained in the web application so that they can be tested by clicking them. From Version 6.5.1, this servlet is also available in the Portal Manager web application under /PM/debug/. Its purpose is to test the WSRP functionality.