Default and base class for formatting a view layout. The Format
class basically defines the HTML used at the start and end of the view.
The default creates an XHTML compliant header and footer with a proper
title, and link to the stylesheet.
init(
self,
processor,
prefix)
(self, os, title, body, headextra, view)
-
Called to output the view header to the given output stream. More...
Called to output the view header to the given output stream.
@param os a file-like object (use os.write())
@param title the title of this view
@param body the body tag, which may contain extra parameters such as
onLoad scripts, and may also be empty eg: for the frames index
@param headextra extra html to put in the head section, such as
scripts
(self, os, body)
-
Called to output the view footer to the given output stream. More...
Called to output the view footer to the given output stream.
@param os a file-like object (use os.write())
@param body the close body tag, which may be empty eg: for the frames
index