Module prime
[show private | hide private]
[frames | no frames]

Module prime

Classes
PublicAPI The Public API

Function Summary
  getURL(scriptName)
Get the server's URL and add the port if it is not port 80.
  htmlEnd()
This should be the bulk of the page's HTML.
  htmlStart()
The header et al.
  javascript(script)
This is the JavaScript that is used in your page.

Imported modules:
cgi, datetime, math, os, re, simplejson, sys, traceback, types
Imported classes:
AjaxStub, AjaxStubDispatch, StringIO, StubContainer
Imported exceptions:
AjaxStubException
Function Details

getURL(scriptName=None)

Get the server's URL and add the port if it is not port 80. If scriptName is not None add it to the URL else add this script to the URL.
Parameters:
scriptName - CGI script that will respond to the page request.
Returns:
The URL that the client will send requests to.

htmlEnd()

This should be the bulk of the page's HTML.

htmlStart()

The header et al. of your page.

javascript(script=None)

This is the JavaScript that is used in your page.
Parameters:
script - The response script. See getURL()

Generated by Epydoc 2.1 on Fri Aug 3 23:25:20 2007 http://epydoc.sf.net