Rob Miller writes:
 > <table>
 > <dtml-call "REQUEST.set('ctr', 0)">
 > <dtml-in "fileValues(REQUEST.get('spec', _.None))">
 >     ....
 >     <dtml-call "REQUEST.set('ctr', _.int(ctr) + 1)">
 > ....
There are "sequence-index" and "sequence-number" variables
defined by "dtml-in". Thus, you need not count yourself.
Note: use as "_['sequence-*']" inside "...".

 > The error I get, running Zope in debug mode, is this:
 > 
 >    Error Type: AttributeError
 >    Error Value: 'string' object has no attribute 'set'
Is is possible that some of your folders has
a REQUEST property or acquires it?



Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to