Index: openacs-4/packages/acs-templating/www/doc/TclDocs/request.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/request.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/TclDocs/request.html 19 Jan 2002 23:45:46 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/request.html 7 Aug 2017 23:48:02 -0000 1.3 @@ -40,13 +40,13 @@

Method Detail

-

+

* indicates required

-Public Methods:
-
+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:
- - + @@ -106,7 +106,7 @@
params +
params A block of parameter declarations, separated by newlines. Equivalent to calling set_param for each parameter, but requiring slightly less typing.

-
+ @@ -117,49 +117,49 @@
- Parameters: + Parameters:
- -
name + name * + The name of the parameter to declare.
-
Options: +
Options: - - + - - + - - + + The name of a datatype for the element values. Valid datatypes must have a validation procedure defined in the template::data::validate namespace. - - + - - +
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.
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:
- - - - @@ -204,7 +204,7 @@
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.

-
+ @@ -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