ePages 6.10 - DE_EPAGES/Presentation/Servlet/PageType.pm

Package DE_EPAGES::Presentation::Servlet::PageType

Extends the permission servlet with processing a page of an object

Base
DE_EPAGES::Presentation::Servlet::Permission

Functions

doViewAction
handlePermissionDenied
historyUri
processContent
processErrorContent
processMonitorContent

doViewAction

Executes a ViewAction and fills the HTTP response using the template and TLE variables provided by the event handler function. Access permissions are checked before running the event handler.

Syntax
$Servlet->doViewAction;

handlePermissionDenied

Dispays the login form as a result of an unauthorized view action. Triggers the action ViewLoginForm and sets the followg TLE variables:

Syntax
$Servlet->handlePermissionDenied( $Error );
Input
$Error (object)
error object

historyUri

returns uri for history.

Syntax
$Servlet->historyUri;

processContent

process a page with the given tle variables. if the no object is given the processContent of the permission servlet will be executed.

Syntax
$Servlet->processContent($ViewAction);
Input
$ViewAction (object)
view action (optional)
Return
$Content (string)
processed template

processErrorContent

Generates an error page by processing the page type Error with the System object. Information about the error is added as TLE variables

Syntax
$Servlet->processErrorContent( $Error );
Input
$Error (object)
error object

processMonitorContent

process content for monitor.

Syntax
$Servlet->processMonitorContent($FileName, $Vars);