Index: openacs-4/packages/acs-templating/www/doc/developer-guide.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/developer-guide.adp,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/acs-templating/www/doc/developer-guide.adp 1 Dec 2015 11:17:59 -0000 1.2.2.3 +++ openacs-4/packages/acs-templating/www/doc/developer-guide.adp 5 Jul 2016 12:14:22 -0000 1.2.2.4 @@ -45,7 +45,8 @@ types
The optional template
argument is a path to a page
-(tcl/adp file pair). Note that you don't supply the ".tcl" or
-".adp" extension. It is resolved by help of
-template::util::url_to_file
(with the current file
-stub as reference path) and passed to
+(tcl/adp file pair). Note that you don't supply the
+".tcl" or ".adp" extension. It is resolved by
+help of template::util::url_to_file
(with the current
+file stub as reference path) and passed to
template::set_file
, to change the name of the page
-being served currently. If it starts with a "/", it is taken to be
-a path relative to the server root; otherwise it is a filename
-relative to the directory of the tcl script.
ad_page_contract
ad_page_contract
will return in any case. You can then
present the errors to the user in a templated page, consistent with
-the look and feel of the rest of your service. If there's no
+the look and feel of the rest of your service. If there's no
complaint, ad_page_contract
- won't touch the variable;
-typically it will stay undefined.
+ won't touch the
+variable; typically it will stay undefined.