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.2.1 -r1.3.2.2 --- openacs-4/packages/acs-templating/www/doc/demo/index.adp 20 Aug 2015 17:19:53 -0000 1.3.2.1 +++ openacs-4/packages/acs-templating/www/doc/demo/index.adp 25 Aug 2015 18:02:14 -0000 1.3.2.2 @@ -2,16 +2,25 @@ {/doc/acs-templating {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. +.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

+

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,11 +86,19 @@ -
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. +Using the Form Manager + below. + + + + +
@@ -90,7 +117,12 @@ -
DescriptionDataTemplateCompiled
Template
Output
Repeating template chunks for each element of a listViewViewViewView

Both Iteration and Composition

+
+

Both Iteration and Composition

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

Using ListBuilder

+
+

Using ListBuilder

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

Forms

+
+

Forms

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

Using the Form Manager.

+
+

Using the Form Manager.

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


templating\@arsdigita.com - + +
+
+templating\@arsdigita.com