Today i've got a problem with the dtml-with tag, as follows:

I was trying to set a variable, using REQUEST.set inside a dtml-in, inside a 
dtml-with, but it only works the first time i call REQUEST.set. Subsequent 
calls do not modify the variable, and do not raise an exception. Not even a 
simple error. 

I dont know how it was supposed to work, but i think that if the REQUEST was 
immutable inside a dtml-with, it should be not allowed to call REQUEST.set 
inside it.

Here goes some example code:

<dtml-with REQUEST>
<dtml-in some-list>
<dtml-if condition>
<dtml-call "REQUEST.set('var', sequence-item)"> <== only works first time it 
gets called and dont raise an error.

See ya!

Sidnei da Silva
X3ng Consultoria e Desenvolvimento Ltda.

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to