Index: openacs-4/packages/acs-templating/tcl/util-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/util-procs.tcl,v
diff -u -r1.18 -r1.19
--- openacs-4/packages/acs-templating/tcl/util-procs.tcl 20 Apr 2004 21:13:08 -0000 1.18
+++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 26 Jul 2004 12:32:31 -0000 1.19
@@ -621,9 +621,11 @@
}
-ad_proc -public template::util::multirow_foreach { name code_text } {
- runs a block of code foreach row in a multirow
+ad_proc -deprecated -public template::util::multirow_foreach { name code_text } {
+ runs a block of code foreach row in a multirow.
+ Using "template::multirow foreach" is recommended over this routine.
+
@param name the name of the multirow over which the block of
code is iterated
@@ -633,13 +635,14 @@
"fake_multirow" containing columns named "spanky"
and "foobar",to set the column spanky to the value
of column foobar use:
- set fake_multirow.spanky
- @fake_multirow.foobar@
+ set fake_multirow.spanky @fake_multirow.foobar@
note: this block of code is evaluated in the same scope as the .tcl page that uses this procedure @author simon + + @see template::multirow } { upvar $name:rowcount rowcount $name:columns columns i i