Hello everyone,
if've had little namespace problems with this code-snipped (dtml-method):
<dtml-with REQUEST>
<dtml-in "[1,2,3,4,5,6,7,8]">
<dtml-call "REQUEST.set('row_index',_['sequence-index'])">
<dtml-var "REQUEST.get('row_index')">
<dtml-var row_index>
</dtml-in>
</dtml-with>
This produces an output like this: 0,0,0,0,0,0,... The zero is the first
index set by REQUEST.set... The running index isn't reflected into the
current namespace. Why not ? It know it depends on <dtml-with REQUEST>, but
it didn't find an answer.
Thanks for any comment,
martin
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )