Yes. I was having problem with zope getting values from a property with the 
same name as a field of a form ive submitted instead of the request. So, 
using <dtml-with REQUEST> solved the problem, but then there is this problem. 

But i still dont understand why the first time i call REQUEST.set, and use 
<dtml-var variable> the variable has the value i set, and subsequent calls to 
REQUEST.set modify REQUEST['variable'] but not variable. This is not right 
for what i think. Or it modify the variable ALL the times or NONE. 

Do you agree?


Em Tuesday 23 October 2001 20:37, Andy McKay escreveu:
> Its the <dtml-with REQUEST>, that mucks up the namespace lookup for "value"
>
> <dtml-with REQUEST>
> <dtml-in "[1,2,3]">
> <dtml-call "REQUEST.set('value', _['sequence-item'])">
> Doesnt work:<dtml-var value>, works: <dtml-var "REQUEST['value']">
> </dtml-in>
> </dtml-with>
>
> But with REQUEST is a rather wierd thing to do. Are you sure you want to do
> that?
>
> Cheers.

-- 
Sidnei da Silva
X3ng Consultoria e Desenvolvimento Ltda.
[EMAIL PROTECTED]

_______________________________________________
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 )

Reply via email to