6 Oct
2003
6 Oct
'03
7:29 p.m.
On Mon, 2003-10-06 at 12:19, A. B. Monta wrote:
What's the best way of doing this? I'm stuck because to display the subtotals, I've had to close out the dtml-let tags that enabled them to be displayed in the first place.
Your situation would be a decent argument for using this: <dtml-call "REQUEST.set('var_name', expression)"> Where var_name *must* be quoted and expression is any valid Python expression. If you're iterating over several rates and days, you may want to load these values into a single dict or list... this will help cut down on namespace clutter. HTH, Dylan