[Zope] dtml-in and objectValues()

Kai Hofmann hofmann@isl.org
Wed, 2 May 2001 11:07:51 +0200


Hi Jerome,

> <UNTESTED>
>   <dtml-in "subdir.objectValues()">
>     <dtml-if "_['sequence-item'].getId()[-3:] =3D=3D '_de'">
>       do_something
>     </dtml-if>
>   </dtml-in>
> </UNTESTED>

_['sequence-item'].getId() results in an error:
"string object has no attribute getId"

:(

--=20
Institut f=FCr Seeverkehrswirtschaft und Logistik   http://www.isl.org/
Dipl.-Inform. Kai Hofmann                       mailto:hofmann@isl.org
Universitaetsallee GW1 Block A                   phone:+49 421 22096-83
D-28359 Bremen                                     fax:+49 421 22096-55