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 (%)

Normally takes no arguments and uses /pagedesc/fullpath to pass to /bits/errors/file-not-found template as a FILEPATH argument.

Sets up page headers to show 404 page not found message.

EXPORTS

Nothing.

AUTHOR

Copyright (c) 2005 Andrew Maltsev

Copyright (c) 2001-2004 Andrew Maltsev, XAO Inc.

<am@ejelta.com> -- http://ejelta.com/xao/

SEE ALSO

Recommended reading: XAO::Web.