Zope & Python

AM rexy3d at hotmail.com
Wed May 14 04:17:19 EDT 2003


Hi all

I have a problem: when i try to assign a textbox in a form from python
procedure:
for example:

def test(hexHash):
    self.md5Hash = hexHash
    time.sleep(15)

the value in the textbox md5Hash is assigned (I see it in the form)
only after the sleep in executed, so I can not use it from other
procedure until the test procedure has finished.

How can I force the textbox update in the form so it show the correct
value immediately after the assign instruction  (self.md5Hash =
hexHash) ??

THANKS
Alessandro




More information about the Python-list mailing list