Index: openacs-4/packages/acs-templating/www/doc/migration.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/migration.adp,v diff -u -r1.3.2.10 -r1.3.2.11 --- openacs-4/packages/acs-templating/www/doc/migration.adp 22 Jun 2016 07:48:43 -0000 1.3.2.10 +++ openacs-4/packages/acs-templating/www/doc/migration.adp 5 Jul 2016 12:14:22 -0000 1.3.2.11 @@ -9,14 +9,15 @@ When templatizing a legacy tcl page, your task is to 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 -sources, and an ADP page (the template), into which these data -sources will be interpolated to yield a complete HTML page. + 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 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 ad_page_contract. In its -properties @@ -37,16 +38,16 @@

A few more hints

If you have a more complicated db_foreach, where logic is @@ -361,11 +362,11 @@ packages/acs-core-ui/www/pvt/alerts.tclpackages/acs-core-ui/www/pvt/alerts.adp

ad_page_contract {
-    \@cvs-id $‌Id: migration.html,v 1.3 2014/10/27 16:40:14 victorg Exp $
+    \@cvs-id $‌Id: migration.html,v 1.3.2.1 2016/06/22 07:48:43 gustafn Exp $
 } {
 }
 ad_page_contract {
-    \@cvs-id $‌Id: migration.html,v 1.3 2014/10/27 16:40:14 victorg Exp $
+    \@cvs-id $‌Id: migration.html,v 1.3.2.1 2016/06/22 07:48:43 gustafn Exp $
 } {
 } -properties {
     header:onevalue
@@ -570,5 +571,5 @@
 Iwashima
 
 
-Last modified: $‌Id: migration.html,v 1.3 2014/10/27 16:40:14
-victorg Exp $
+Last modified: $‌Id: migration.html,v 1.3.2.1 2016/06/22 07:48:43
+gustafn Exp $