[Zope] REQUEST.items() problem

Juan Garcia Garcia juangar@dei.inf.uc3m.es
Wed, 31 Oct 2001 09:40:31 +0100 (CET)


On Tue, 30 Oct 2001, Dieter Maurer wrote:

> Juan Garcia Garcia writes:
>  >   i'm trying to show all data contained by REQUEST, but when i write
>  > the next code, the computer overloads and Zope doesn't response: 
>  > 
>  >   <dtml-in "REQUEST.items()" sort>
>  >     <dtml-var sequence-key>:<dtml-var sequence-item><BR>
>  >   </dtml-in>
>  > 
>  > If i use REQUEST.form.items() or REQUEST.cookies.items(), it works
>  > perfectly, but there is data in 'Other' that i need.
> The you can use:
> 
>     <dtml-in "REQUEST.other.items()"> ...
I've tried already what you say and i get the same problem.
I suppose that REQUEST.items() iterates over the categories 'form',
'cookies', 'other' and 'environ', and when it reaches to 'other' the
computer overloads.
If i show the whole REQUEST (<dtml-var REQUEST>) i can see the four
categories with their keys and values without problem.

Thank you.