Purpose: Associates a cgi obj ($cgi) with pjx object, inserts
the page, or part of the page. AJAX applications
are designed to update only the section of the
page that needs it - the whole page doesn't have
to be redrawn. L<:ajax> applications use the
build_html() method to take care of this: if the CGI
parameter C exists, then the return from the
L<:ajax>-exported function is sent to the page.
Otherwise, the entire page is sent, since without
an C param, this has to be the first time
the page is being built.
Arguments: The CGI object, and either a coderef, or a string
containing html. Optionally, you can send in a third
parameter containing information that will get passed
directly to the CGI object header() call.
Returns: html or updated html (including the header)
Called By: originating cgi script