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:
Turns on pre-processing.
Removes the action URL in order to force all server events to be posted through the component dispatcher.
Report errors to the WDK's error message service and handles the user event that is generated when the user acknowledges an error dialog.
Turns on post-processing.