Hi All,
Iam relatively new to zope.
I want to delete a variable and it value from REQUEST.I used python pop()
and __delattr__() ,but getting attribute error.
Hoping someboby helps me.
thanks ,
Indrajit.
___
Zope maillist - Zope@zope.org
http://mail.
Hi,
indrajit926 indra wrote:
Hi All,
Iam relatively new to zope.
I want to delete a variable and it value from REQUEST.I used python
pop() and __delattr__() ,but getting attribute error.
Actually you can't. (Not without writing a product in filesystem
and getting deep into zope). Why would
Hi,
thanks for ur reply.
My problem is, my code is like
if REQUEST['usr_msg']:
On Mon, Sep 29, 2008 at 1:36 PM, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
> Hi,
>
> indrajit926 indra wrote:
>
>> Hi All,
>>
>> Iam relatively new to zope.
>>
>> I want to delete a variable and it value from REQUE
Hi,
thanks for ur reply.
My problem is, my code is like
#code code code
if REQUEST['usr_msg']:
do some operations.
#some code related to project
my program control loops with above " if condition".
REQUEST is in same context.
so once REQUEST stores 'usr_msg ' every time when it goes t
Just set it to None.
if REQUEST['usr_msg']:
do_something()
REQUEST.set('usr_msg', None)
Then, the next time the condition will be false.
2008/9/30 indrajit926 indra <[EMAIL PROTECTED]>:
> Hi,
>
> thanks for ur reply.
>
> My problem is, my code is like
>
> #code code code
>
> if REQUEST[
Hi,
indrajit926 indra wrote:
Hi,
thanks for ur reply.
My problem is, my code is like
#code code code
if REQUEST['usr_msg']:
do some operations.
#some code related to project
my program control loops with above " if condition".
REQUEST is in same context.
so once REQUEST stores 'u