Index: openacs-4/packages/acs-templating/www/doc/migration.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/migration.html,v diff -u -r1.2.22.1 -r1.2.22.2 --- openacs-4/packages/acs-templating/www/doc/migration.html 24 Sep 2013 20:07:35 -0000 1.2.22.1 +++ openacs-4/packages/acs-templating/www/doc/migration.html 9 Sep 2014 08:32:02 -0000 1.2.22.2 @@ -16,15 +16,15 @@ separate code and graphical presentation. The latter goes into an ADP file; it contains essentially HTML, augmented by a few special tags and the @variable@ construct. - The code goes into a TCL script. In other words, a templated page - consists of two files, a TCL part that puts its results in data + The code goes into a Tcl script. In other words, a templated page + consists of two files, a Tcl part that puts its results in data sources, and an ADP page (the template), into which these data sources will be interpolated to yield a complete HTML page.

General

- As usual, the TCL page should start with a call to + As usual, the Tcl page should start with a call to ad_page_contract. In its -properties block you promise the data sources that your script will provide; they were earlier called page properties, hence the @@ -34,7 +34,7 @@ see below.

- At the end of the TCL script, you should call + At the end of the Tcl script, you should call ad_return_template. The template runs after the tcl script, and can use these data sources.