Forum OpenACS Development: Response to New templating tag

Collapse
Posted by David Walker on
Sounds good.

Your tag usage doesn't display because my browser thinks it's html
so I've reproduced it here

<xmp>
<read src="child.adp">
or
<read src="/absolute/path/to/child.adp">
</xmp>

You might also consider writing a command to make the parent's
variables available to the child.
Assuming the templating system uses the same ideas as the rest of
tcl a tag that does the following should make all the parent's
variables available to the child

foreach var [uplevel 1 {info vars}] {
  upvar $var $var
}