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:
- PermissionDenied = 1
- PermissionDeniedText = $Error->shortMessage
Syntax |
$Servlet->handlePermissionDenied( $Error ); |
Input |
|
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 |
|
Return |
|
processErrorContent
Generates an error page by processing the page type Error with the System object. Information about the error is added as TLE variables
- Error.Code - error code
- Error.ShortMessage - error message
- Error.LongMessage - error message with stack trace
- Error.Vars - additional information about the error
Syntax |
$Servlet->processErrorContent( $Error ); |
Input |
|
processMonitorContent
process content for monitor.
Syntax |
$Servlet->processMonitorContent($FileName, $Vars); |