XAO Inc. > XAO-Web-1.05a > XAO::Objects::Page

Download:
XAO-Web-1.05a.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: XAO-Web-1.07

NAME ^

XAO::Objects::Page - core object of XAO::Web rendering system

SYNOPSIS ^

Currently is only useful in XAO::Web site context.

DESCRIPTION ^

This is the default default (sic!) page handler. It is called when there is no template for the given path and there is no path-to-object mapping defined for this path.

Feel free to override it per-site to make it do something more useful then just displaying 404 error message.

METHODS ^

display (%)

Takes only one argument - file path and displays /bits/errors/file-not-found template providing that path as a FILEPATH argument.

EXPORTS ^

Nothing.

AUTHOR ^

Copyright (c) 2000-2001, XAO, Inc.

Andrew Maltsev <am@xao.com>.

SEE ALSO ^

Recommended reading: XAO::Web.

syntax highlighting: