13 Aug
2001
13 Aug
'01
11:24 p.m.
However be careful, be *very* careful, when using _['sequence-item'] or <dtml-let si=sequence-item>, because in the not so infrequent case where sequence-item is an object that is callable, like, say, a DTML Document, it will get called, thus rendered, and "si" will be a string and not an object like you probably expected...
By the way I failed to mention, you might want to use instead: _.getitem('sequence-item') which doesn't call the object. See Dieter's very nice doc at: http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html#Object_argume... Florent Guillaume Nuxeo