[Zope] "REQUEST" a string object?
Dieter Maurer
dieter@handshake.de
Tue, 25 Jul 2000 19:47:09 +0200 (CEST)
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