__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".
|