NAME
Konstrukt::Plugin::errors - Display the error messages that occured during the page processing
SYNOPSIS
<& errors / &>
DESCRIPTION
Will display the error messages (if any) that have been created with $Konstrukt::Debug-
error_message()>.
A template named error.template
will be used to display them. The template must have a list errors
, which must have a field text
.
CONFIGURATION
You may set the path to the template (error.template
) of this plugin. Default:
errors/template_path /templates/errors/
METHODS
init
Inititalization of this class
install
Installs the templates.
Parameters:
none
default :Action
Default (and only) action for this plugin. Will display the error messages.
Parameters:
$tag - Reference to the tag (and its children) that shall be handled.
$content - The content below/inside the tag as a flat string.
$params - Reference to a hash of the passed CGI parameters.
execution_stage
This one should be executed last.
AUTHOR
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.