[Zope] dtml-in and totals

Dieter Maurer dieter at handshake.de
Mon May 17 13:43:48 EDT 2004


Michael Fox wrote at 2004-5-17 16:06 +1000:
> ...
>At the end of my report I want to display the total in my <dtml-if
>sequence-end> and can't understand why this won't work...
>
><dtml-var expr="(total-wi_extrtlty - total-wi_extrtlly) /
>total-wi_extrtlly * 100" fmt="%.2f">
>
>Can anyone shread some light on this?

Read about the "prefix" attribute of "dtml-in".
Use it...

-- 
Dieter



More information about the Zope mailing list