EagleEye666666
18 Jan 2009, 4:32 PM
Hej guys,
some question. I would like to let the user know how the upload is going, cuz in my WebApp the size of the uploaded files could be quite big. There is any chance to solve such issue?
I can't find a way.
A FormPanel only offers:
BeforeSubmit : FormEvent(this)
Fires before the form is submitted. Only applies when using HTML submits. Listeners can set the doit field to false to cancel the action.
* formPanel : this
Submit : FormEvent(this, resultHtml)
Fires after the form has been submitted. Only applies when using HTML submits.
* formPanel : this
* resultHtml : the response html
So there is no anyway to let the client recieve some response from the server regarding to the upload progress? Serverside coding i have done so far. Even some JSON Response...
Iam using Commons FileUpload with it's ProgressListener, so from the serverside it would be possible. I can't see a way on clientside to recieve sth from server :(
Any Ideas ?? I would be really grateful about some discussion.
Have a good start of the week guys! :)
some question. I would like to let the user know how the upload is going, cuz in my WebApp the size of the uploaded files could be quite big. There is any chance to solve such issue?
I can't find a way.
A FormPanel only offers:
BeforeSubmit : FormEvent(this)
Fires before the form is submitted. Only applies when using HTML submits. Listeners can set the doit field to false to cancel the action.
* formPanel : this
Submit : FormEvent(this, resultHtml)
Fires after the form has been submitted. Only applies when using HTML submits.
* formPanel : this
* resultHtml : the response html
So there is no anyway to let the client recieve some response from the server regarding to the upload progress? Serverside coding i have done so far. Even some JSON Response...
Iam using Commons FileUpload with it's ProgressListener, so from the serverside it would be possible. I can't see a way on clientside to recieve sth from server :(
Any Ideas ?? I would be really grateful about some discussion.
Have a good start of the week guys! :)