2 May
2001
2 May
'01
9:16 a.m.
On Wed, 2 May 2001, Kai Hofmann wrote:
<UNTESTED> <dtml-in "subdir.objectValues()"> <dtml-if "_['sequence-item'].getId()[-3:] == '_de'"> do_something </dtml-if> </dtml-in> </UNTESTED>
_['sequence-item'].getId() results in an error: "string object has no attribute getId"
Sorry, but this was said as being UNTESTED. the following works: <dtml-if "getId()[-3:] == '_de'"> do_something </dtml-if> bye, Jerome Alet