Yes, it is a bit confusing, but you'll get used to that :) Look for "DTML Namespace Utility Functions" at the Zope Book http://www.zope.org/Members/michel/ZB/AdvDTML.dtml Ausum "J. Cone" wrote:
At 14:24 12/07/01 +0200, Paul Zwarts wrote: <snip>
<dtml-var "sequence-item-5"> does not work because it syubtracts item from sequence and five from item. Instead use:
<dtml-var "_['sequence-item']-5">
Is this refering to an earlier item in the sequence?
Is it the same as _.sequence-item-5 ?
Is there a declaration of _ anywhere that I can look at?
If I have a name clash (two Z SQL Method's return ID), how to I look up the stack of namespaces?
Yours in abject confusion, J. Cone
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )