[ZPT] Can't get getSize to work

Dieter Maurer dieter at handshake.de
Wed Sep 1 15:40:11 EDT 2004


Sean wrote at 2004-9-1 19:46 +0800:
> ...
><td tal:content="item/getSize">Id</td>
>Error Type
>    KeyError
>Error Value
>    'getSize'

Not all objects have a "getSize" method.

Try:

	<td tal:content="item/getSize | python:0">Id (????)</td>

-- 
Dieter


More information about the ZPT mailing list