[Zope] <dtml-bar total-...> is always empty in <dtml-in>

Tino Wildenhain tino at wildenhain.de
Mon Sep 6 04:20:59 EDT 2004


Hi,

Am Mo, den 06.09.2004 schrieb Patrick Ulmer um 9:43:
> Hi,
> 
> I have a little problem query my databasetable and get the total value 
> of a numeric field "garantiewert". <dtml-var total-garantiewert> is 
> alwas empty. For example <dtml-var count-garantiewert> works. I'm using 
> zope 2.6.1.
> 
> <dtml-in SelectGarantiewerte>
>   <dtml-var garantiewert><br>
>   <dtml-if sequence-end>
>     <dtml-var total-garantiewert><br>
>   </dtml-if>
> </dtml-in>

Which type is "garantiewert" ?
If its string, there would be no total.

Regards
Tino



More information about the Zope mailing list