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.4.2.2 -r1.4.2.3 --- openacs-4/packages/acs-templating/www/doc/developer-guide.adp 3 Sep 2021 09:15:54 -0000 1.4.2.2 +++ openacs-4/packages/acs-templating/www/doc/developer-guide.adp 6 Jun 2023 09:30:30 -0000 1.4.2.3 @@ -15,7 +15,7 @@ promised in the contract, and not write to the connection. At the end of your Tcl page, call ad_return_template . The -template system will look for an adp page with the file name stub +template system will look for an adp page with the filename stub you indicate (defaulting to the same stub as the Tcl page), process that, and deliver it to the client. The adp page can use the datasources defined in the Tcl page. Index: openacs-4/packages/acs-templating/www/doc/developer-guide.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/developer-guide.html,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/developer-guide.html 7 Aug 2017 23:48:02 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/developer-guide.html 6 Jun 2023 09:30:30 -0000 1.5.2.1 @@ -18,7 +18,7 @@ use of templating. The Tcl page should fill the data sources you promised in the contract, and not write to the connection. At the end of your Tcl page, call ad_return_template. The - template system will look for an adp page with the file name stub + template system will look for an adp page with the filename stub you indicate (defaulting to the same stub as the Tcl page), process that, and deliver it to the client. The adp page can use the datasources defined in the Tcl page. Index: openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp,v diff -u -r1.6.2.5 -r1.6.2.6 --- openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp 3 Sep 2021 09:15:57 -0000 1.6.2.5 +++ openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp 6 Jun 2023 09:30:30 -0000 1.6.2.6 @@ -104,7 +104,7 @@ </form>

-Snippets of HTML produced by Tcl code, a.k.a. +Snippets of HTML produced by Tcl code, aka widgets .
Normally we try to fit all HTML code into the ADP template and have Index: openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html,v diff -u -r1.4.2.3 -r1.4.2.4 --- openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html 10 Aug 2021 13:26:58 -0000 1.4.2.3 +++ openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html 6 Jun 2023 09:30:30 -0000 1.4.2.4 @@ -124,7 +124,7 @@

- Snippets of HTML produced by Tcl code, a.k.a. + Snippets of HTML produced by Tcl code, aka widgets.
Normally we try to fit all HTML code into the ADP template and Index: openacs-4/packages/acs-templating/www/doc/TclDocs/publish.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/publish.adp,v diff -u -r1.5.2.4 -r1.5.2.5 --- openacs-4/packages/acs-templating/www/doc/TclDocs/publish.adp 28 Dec 2021 14:36:13 -0000 1.5.2.4 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/publish.adp 6 Jun 2023 09:30:30 -0000 1.5.2.5 @@ -129,7 +129,7 @@ url_ref* The name of the variable in the calling frame that -will receive the relative URL of the file in the file system which +will receive the relative URL of the file in the filesystem which contains the content blob Index: openacs-4/packages/acs-templating/www/doc/TclDocs/publish.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/publish.html,v diff -u -r1.5.2.2 -r1.5.2.3 --- openacs-4/packages/acs-templating/www/doc/TclDocs/publish.html 28 Dec 2021 14:36:13 -0000 1.5.2.2 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/publish.html 6 Jun 2023 09:30:30 -0000 1.5.2.3 @@ -242,7 +242,7 @@ * - The name of the variable in the calling frame that will receive the relative URL of the file in the file system which contains the content blob + The name of the variable in the calling frame that will receive the relative URL of the file in the filesystem which contains the content blob error_ref Index: openacs-4/packages/acs-templating/www/doc/appendices/memory.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/appendices/memory.adp,v diff -u -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/acs-templating/www/doc/appendices/memory.adp 3 Sep 2021 09:16:17 -0000 1.4.2.2 +++ openacs-4/packages/acs-templating/www/doc/appendices/memory.adp 6 Jun 2023 09:30:30 -0000 1.4.2.3 @@ -7,9 +7,9 @@

Parsing Templates in Memory

Templating System

The templating system code is oriented towards parsing templates -stored in the file system, in conjunction with a Tcl script that is +stored in the filesystem, in conjunction with a Tcl script that is also stored as a file. However, when the template is not actually -stored in the file system, you will need to parse it as a string in +stored in the filesystem, you will need to parse it as a string in memory. Two common situations in which this occurs are: