Table of Contents

Class: NewItemPage qm/test/web/web.py

Page for creating a new test or resource.

Base Classes   
QMTestPage
Methods   
GetClassDescriptions
GetTitle
MakeSubmitUrl
__init__
  GetClassDescriptions 
GetClassDescriptions ( self )

Return a description of the available classes.

returns
Structured text describing each of the available test or resource classes.
  GetTitle 
GetTitle ( self )

Return the title this page.

  MakeSubmitUrl 
MakeSubmitUrl ( self )

Return the URL for submitting the form.

The URL is for the script create-test or create-resource as appropriate.

  __init__ 
__init__ (
        self,
        server,
        type,
        item_id="",
        class_name="",
        field_errors={},
        )

Create a new DTML context.

type
Either "test" or "resource".
server
The QMTestServer creating this page.
item_id
The item ID to show.
class_name
The class name to show.
field_errors
A mapping of error messages for fields. Keys may be "_id" or "_class".

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:32 2005 by HappyDoc version 2.1