Deployment Example: Deploying and Customizing the Documentum Portlet

PortalEnvironment Class

The PortalEnvironment class inherits from Environment and serves as the superclass for all portal environment implementations. You can extend this class to support WDK portlets on a non-JSR-168 compliant portal server.

The following methods are implemented:

preprocess()

Turns on pre-processing.

encodeUrl()

Removes the action URL in order to force all server events to be posted through the component dispatcher.

handleError() and errorAcknowledged()

Report errors to the WDK's error message service and handles the user event that is generated when the user acknowledges an error dialog.

postProcess()

Turns on post-processing.