| Home | Trees | Index | Help |
|---|
|
|
web.DtmlPage --+
|
DefaultDtmlPage --+
|
QMTestPage --+
|
ShowItemPage
|
|||
|
Inherited from |
|||
|
|||
|
__init__(self,
server,
item,
edit,
new,
type,
field_errors={})
Construct a new DTML context. |
|||
|
GetTitle(self)
Return the page title for this page. |
|||
|
FormatFieldValue(self,
field)
Return an HTML rendering of the value for 'field'. |
|||
|
GetClassDescription(self)
Return a full description of the test or resource class. |
|||
|
GetBriefClassDescription(self)
Return a brief description of the test or resource class. |
|||
|
MakeEditUrl(self)
Return the URL for editing this item. |
|||
|
MakeRunUrl(self)
Return the URL for running this item. |
|||
|
MakeShowUrl(self)
Return the URL for showing this item. |
|||
|
MakeSubmitUrl(self)
Return the URL for submitting edits. |
|||
|
MakeDeleteScript(self)
Make a script to confirm deletion of the test or resource. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Construct a new DTML context. These parameters are also available in DTML under the same name: 'server' -- The 'QMTestServer' creating this page. 'item' -- The 'TestDescriptor' or 'ResourceDescriptor' for the test being shown. 'edit' -- True for editing the item; false for displaying it only. 'new' -- True for editing a newly-created item ('edit' is then also true). 'type' -- Either "test" or "resource". 'field_errors' -- A map from field names to corresponding error messages.
|
|
|
Return a full description of the test or resource class. returns -- The description, formatted as HTML. |
Return a brief description of the test or resource class. returns -- The brief description, formatted as HTML. |
|
|
|
|
Make a script to confirm deletion of the test or resource. returns -- JavaScript source to handle deletion of the test or resource. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:34 2007 | http://epydoc.sf.net |