Forum OpenACS Development: Re: Intrigued by a Tcl variable scope

Collapse
Posted by Iuri Sampaio on
Gustaf,

Instead of list::create, wouldn't the best place be in the db_multirow?

Or even, the switch pass_properties could be in both. Couldn't it?

Collapse
Posted by Gustaf Neumann on
The flag is especially for variables used in the list template, which are NOT part of the multirow (or db_multirow). The template::list iterates of the multirow tuples and needs the information, what other variables have to be provided in the "display_template".

Without looking at the details, it might be possible to modify the implementation of "display_template" to include all global variables, but - maybe for a good reason - this was not done at the first place.