Index: openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp,v
diff -u -r1.7.2.5 -r1.7.2.6
--- openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp 13 Jul 2023 12:48:33 -0000 1.7.2.5
+++ openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp 2 Sep 2024 09:40:25 -0000 1.7.2.6
@@ -2,6 +2,10 @@
The ACS Templating System for Web Designers
Templating System : Templating
@@ -73,7 +77,8 @@
appearing once in the .adp file, are cycled repeatedly to show
multiple sets of information when displayed in
list-and-var-sample.acs
; example:
- <multiple name="your_multirow">
+
@@ -261,26 +266,26 @@
and <else> tags to your ATS toolbelt, it's time to put
those tools to good use in formatting multirow data. First, read
the docs to learn about the
-automatcally generated
+ <multiple name="your_multirow">
<tr><td>\@your_multirow.first_names\@ \@your_multirow.last_name\@ </td> </tr>
</multiple>
\@your_multirow.rownum\@
-column, the \@your_multirow:rowcount\@
onevalue
-which contains the total number of rows contained in your multirow,
-and the <multiple> startrow
and
-maxrows
attributes. Possible point of confusion: the
-variable \@your_multirow:rowcount\@
is a
-onevalue and not a column of the multirow
-your_multirow
, so it need not be used within
-<multiple> tags and in many cases should not be used within
-<multiple> tags. Why is this? (Take a look at how
-\@address:rowcount\@
is used.) Now make the following
-improvements to the address book listing you found in
-form-sample.acs
:
\@your_multirow.rownum\@
column, the
+\@your_multirow:rowcount\@
onevalue which
+contains the total number of rows contained in your multirow, and
+the <multiple> startrow
and maxrows
+attributes. Possible point of confusion: the variable
+\@your_multirow:rowcount\@
is a onevalue and
+not a column of the multirow your_multirow
,
+so it need not be used within <multiple> tags and in many
+cases should not be used within <multiple> tags. Why is this?
+(Take a look at how \@address:rowcount\@
is used.) Now
+make the following improvements to the address book listing you
+found in form-sample.acs
:
startrow
attribute so that the address
book listing begins at a rownumber determined by the Tcl file code
(check the .dat page)