+Public Methods:
+
|
@@ -57,19 +57,19 @@
- Parameters:
+ Parameters:
- url
+ | url
* |
-
+ |
The URL of the template to use to display error messages. The special value { self} may be used to indicate that the template for the requested page itself will handle reporting error conditions. |
- - Returns:
+
- Returns:
-
1 if no error conditions exist, 0 otherwise.
@@ -79,7 +79,7 @@
-
+
|
@@ -90,11 +90,11 @@
- - Options:
+
- Options:
- params |
-
+ | params |
+
A block of parameter declarations, separated by newlines. Equivalent to calling set_param for each parameter, but requiring slightly less typing. |
@@ -106,7 +106,7 @@
-
+
|
@@ -117,49 +117,49 @@
- Parameters:
+ Parameters:
- name
+ | name
* |
-
+ |
The name of the parameter to declare. |
- - Options:
+
- Options:
- name |
-
+ | name |
+
The name of parameter in the query (may be different from the reference name). |
- multiple |
-
+ | multiple |
+
A flag indicating that multiple values may be specified for this parameter. |
- datatype |
-
+ | datatype |
+
- The name of a datatype for the element values. Valid datatypes must have a validation procedure defined in the template::data::validate namespace. |
+ The name of a datatype for the element values. Valid datatypes must have a validation procedure defined in the template::data::validate namespace.
- optional |
-
+ | optional |
+
A flag indicating that no value is required for this element. If a default value is specified, the default is used instead. |
- validate |
-
+ | validate |
+
A list of custom validation blocks in the form { name { expression } { message } \ name { expression } { message } ...} where name is a unique identifier for the validation step, expression is a block to Tcl code that evaluates to 1 or 0, and message is to be displayed to the user when the validation step fails. |
- - See Also:
+
- See Also:
- element::create -
@@ -168,7 +168,7 @@
-
+
|
@@ -179,20 +179,20 @@
- Parameters:
+ Parameters:
- name
+ | name
* |
-
+ |
A unique identifier for the error condition, which may be used for layout purposes. |
- msg
+ | msg
* |
-
+ |
The message text associated with the condition. |
@@ -204,7 +204,7 @@
-
+
|
@@ -215,19 +215,19 @@
- Parameters:
+ Parameters:
- name
+ | name
* |
-
+ |
The name of the parameter. |
- - Returns:
+
- Returns:
-
The value of the specified parameter.
@@ -243,7 +243,7 @@
-
+
* indicates required
|
|
|
|
|