Am Dienstag, den 24.05.2005, 04:09 -0700 schrieb prabuddha ray:
sorry,
i missed the xplanaition.
i think this'll explain...
div tal:define= penalty
python:context.getPenalty(group_code=gcode,item_code=icode);
penaltylen python:test(len(penalty)==0)
so not:penaltylen ensures
Use two things: a page template and a Python script... here's an
example:
page template body
--
div tal:define=L python: [1,2,3,4];
A python: context.sum_of(L)
div tal:repeat=V L
tal:content=V1/div
div tal:content=Atotal/div
/div
python script
Am Freitag, den 20.05.2005, 03:54 -0700 schrieb prabuddha ray:
sorry for delay,
but the options you gave are ruled out.
actually not all the rows in the column have the values.
Which is perfectly met by the if statement. Please read
_my_ post again and to the end.
further the total