I seem to be having difficulty having the Progress Bar work correctly in the Web client? When uploading a file, the progress bar hangs until it’s complete and then completes. Any ideas here? Seems to be working fine in the Servoy Client.
Web client is slightly different than Smart client in that the UI doesn’t update until a method is finished.
However, I do believe that with the monitor functionality of file streaming you can update the web UI as file streaming utilizes multiple threads. Check out Patrick’s file streaming tutorial: https://www.servoyforge.net/news/43
the file streaming stuff of the File plugin doesn’t make much sense to the WebClient!
Because you stream from a client instance to the server, but the webclient client instance is already on the server, so you just stream to itself…
Currently streaming from the browser to the server is an action that doesn’t have a progress, because you just have to wait for the upload to be finished.
This could be improved somehow by doing the upload in an iframe or something and then have another iframe checking its progress (or use some flash upload tool)
And maybe html5 has some other stuff that makes it nicer to use…