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 -N -r1.5 -r1.6 --- openacs-4/packages/acs-templating/www/doc/demo/index.adp 25 Apr 2018 08:42:18 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/demo/index.adp 28 Nov 2018 13:05:45 -0000 1.6 @@ -1,4 +1,3 @@ - {/doc/acs-templating {ACS Templating}} {Templating System Samples} Templating System Samples @@ -97,6 +96,8 @@ below. + + -
DescriptionDataTemplateCompiled
@@ -108,28 +109,53 @@
Repeating template chunks for each row of a query result, with custom manipulation of dataViewViewViewView
Repeating template chunks with grouping ViewViewViewViewViewViewViewViewViewViewViewView - - - - + - + + + -
Repeating template chunks as cells of a gridRepeating template chunks with grouping +ViewViewViewView
Repeating template chunks for each element of a listRepeating template chunks as cells of a gridViewViewViewView
Repeating template chunks for each element of a listViewViewViewView

Both Iteration and Composition

ViewPlain
FancyPlain
FancyPlain
Fancy
AbsoluteViewOuter
IncludedOuter
IncludedViewViewViewViewView +
+

Both Iteration and Composition

+ + + - + - + - + -
DescriptionDataTemplateCompiled
Template
Output
Apply different skins to the same dataApply different skins to the same dataView +Plain
Fancy +
+Plain
Fancy +
+Plain
Fancy
Absolute +
Passing a multirow datasource to an included pagePassing a multirow datasource to an included pageView +Outer
Included +
+Outer
Included +
View
Processing a template from a string (not file)Processing a template from a string (not file)ViewViewViewView

Using ListBuilder

+
+

Using ListBuilder

+ + + + + + + + + + + @@ -213,7 +239,11 @@ index
-
DescriptionDataTemplateCompiled
Template
Output View

Forms

+
+

Forms

+ + + @@ -224,35 +254,58 @@ Form
Target
Error Page + -
DescriptionDataTemplateCompiled
Template
Output Form
Target
Report an error related to a request.ViewViewPlainView

Using the Form Manager.

ViewViewViewViewViewSimple
GriddedSimple
GriddedSimple
GriddedViewViewViewViewViewViewViewInline Error MessageSitewide Error -PageValid RequestViewViewViewViewViewViewViewViewViewSubmit
ConfirmSubmit
ConfirmViewViewViewViewViewViewViewViewView + +

Using the Form Manager.

+ + + + + + + + + + - + - + - + - - - + + + - + - + - + - + -
DescriptionDataTemplateCompiled
Template
Output
A simple formA simple formViewViewViewView
A form with button groupsA form with button groupsView +Simple
Gridded +
+Simple
Gridded +
+Simple
Gridded +
A form with Select widgetsA form with Select widgetsViewViewViewView
Custom validation of a request
A form with the Date widgetCustom validation of a requestViewViewViewInline Error +Message
Sitewide Error Page
Valid +Request
A form with the Date widgetViewViewViewView
Editing: several pages in oneEditing: several pages in oneViewViewViewView
A form with a custom confirmation pageA form with a custom confirmation pageView +Submit
Confirm +
+Submit
Confirm +
View
A form with display/edit modesA form with display/edit modesViewViewViewView
A form with multiple submit buttonsA form with multiple submit buttonsViewViewViewView


- +
+
+