I’m trying to get my head round what options there are for user feedback when the solution is processing a lengthy task in web client. As far as I can see, no beans or plugins suitable for this task work in web client.
The best I have come up with so far is to show an animated activity gif on the current controller (can also disable the controller) at the start of a long process and then hide it again at the end - this works so long as the showing and hiding occur as part of separate processes.
I am interested in knowing what others have done to solve this
Thanks for the suggestion, but most plugins wont work in web client. According to Marcel’s site, the progress plugin doesn’t - otherwise it would be the perfect option of course!
Haven’t tested this but it should work: you can show a form in dialog (modal) with a wait message and an animated GIF just before starting the task, webclient won’t stop the method execution after showing the FID so it will continue to perform the task; at the end of the task you can change the message in the FID to something like “Done”, hide the animated GIF and show a “Close” button.
Just remember to attach a method to the FID onHide event returning false unless the “Close” button is visible so that the user cannot close the FID using the “X” button.
If I try to showFormInDialog at the start of the process it doesn’t draw properly until the process is finished - therefore I can’t set up any information text or animated icon because it won’t actually show until the process is done anyway.