Index: openacs-4/packages/acs-templating/www/doc/demo/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/index.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/doc/demo/index.adp 23 Jun 2015 10:52:55 -0000 1.3 +++ openacs-4/packages/acs-templating/www/doc/demo/index.adp 7 Aug 2017 23:48:02 -0000 1.4 @@ -1,17 +1,26 @@ -{/doc/acs-templating {Templating}} {Templating System Samples} +{/doc/acs-templating {ACS Templating}} {Templating System Samples} Templating System Samples +

Samples

+Templating System + : Demo - -

Samples

Templating System : Demo - As the links reveal, the "Data" files have the extension -.tcl and the "Template" files have .adp. -If you want to see a little behind the scenes, you can look at the -tcl code into which we compile the template. The last column will -deliver the resulting page to your browser. -

Mechanisms underlaid in red are known to not work.

General

+.tcl + and the "Template" files have +.adp +. If you want to see a little behind the scenes, +you can look at the Tcl code into which we compile the template. +The last column will deliver the resulting page to your browser. +

Mechanisms underlaid in red are known to not work.

+

General

+ + + + + +
@@ -26,7 +35,11 @@ -
DescriptionDataTemplateCompiled
Template
Output
CommentsNoneViewViewView

Combining templates

+
+

Combining templates

+ + + @@ -54,7 +67,13 @@ Start
Included
Master -
DescriptionDataTemplateCompiled
Template
Output View

Embedded Tcl

+
+

Embedded Tcl

+ + + + + @@ -67,18 +86,27 @@ -
DescriptionDataTemplateCompiled
Template
Output
Puts (if you absolutely must)ViewViewViewView

Iteration

+ +

Iteration

+ To see the following examples with different data, you can enter -additional users into the sample table with "a simple form" or -change them with "editing: several pages in one" in section -Using the Form Manager below. +additional users into the sample table with "a simple +form" or change them with "editing: several pages in +one" in section Using the Form Manager + +below. + + + + +
- + @@ -90,7 +118,12 @@ -
DescriptionDataTemplateCompiled
Template
Output
Repeating template chunks for each row of a query resultViewViewViewView
Generating the multirow datasource in TclViewViewViewViewGenerating the multirow datasource in TCLViewViewViewView
Repeating template chunks for each row of a query result, with custom manipulation of dataViewViewViewView
Repeating template chunks for each element of a listViewViewViewView

Both Iteration and Composition

+
+

Both Iteration and Composition

+ + + + @@ -111,7 +144,19 @@ -
DescriptionDataTemplateCompiled
Template
Output
Processing a template from a string (not file)ViewViewViewView

Using ListBuilder

+
+

Using ListBuilder

+ + + + + + + + + + + @@ -195,7 +240,11 @@ index
-
DescriptionDataTemplateCompiled
Template
Output View

Forms

+
+

Forms

+ + + @@ -210,7 +259,19 @@ -
DescriptionDataTemplateCompiled
Template
Output
Report an error related to a request.ViewViewPlainView

Using the Form Manager.

+
+

Using the Form Manager.

+ + + + + + + + + + + @@ -245,5 +306,7 @@ -
DescriptionDataTemplateCompiled
Template
Output
A form with multiple submit buttonsViewViewViewView


templating\@arsdigita.com - + +
+
+ \ No newline at end of file