Hi,
I am trying to include this file upload progress bar in my
application.
while reading the document i have some doubt.
@expose()
def upload_handler(self, myfile1, myfile2, **kw):
""" Do something with form values and re-show the upload form. """
# Tell UploadFilter that this transfer is done.
try:
del cherrypy.file_transfers[cherrypy.request.remote_addr]
[myfile1.filename]
del cherrypy.file_transfers[cherrypy.request.remote_addr]
[myfile2.filename]
except KeyError:
pass
in the above code the commented line means whether i have to write
some code to reshow the form or its just a comment to the codes
already there. I implemented the whole thing and i am sure i didnt
miss anything given in the document. But except progress bar
everything is working properly and i got one javascript error.
(addLoadEvent is not defined). I am using Firefox 2. what may be the
problem? i am struggling with this problem.
Thanks & Regards,
Shan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---