[Zope] TypeError trying to use Dtml-in on Zclass

Rik Hoekstra rik.hoekstra@inghist.nl
Wed, 9 Aug 2000 21:46:13 +0200


>
>I have a Zclass object called States
>built with folder and renderable
>
>When I try
>
><dtml-in States>
><dtml-var sequence-item>
></dtml-in>
>
>
>I get
>Error Type: TypeError
>Error Value: hasattr, argument 2: expected string, int
>found

>
>
>Does anyone know why this is happening?
>


because you feed it (some method but presumably not dtml-in)  int, not
strings.
But seriously, could you give us some more details about what your code has
and preferably a traceback also. That way we might be able to help you
better

Rik