Normally the zone update requests are blocked at Java side. But as you say your application does not work in a single threaded way you can use PeriodicZoneUpdater. Where your client is polling for updates
How to do delayed zone reload in Tapestry?
Question
Is there a way to do a delayed zone reload in Tapestry.
I have a not-so-quick operation I perform when I submit a form. The results are visible after a few seconds (usually 2 or 3).
Is there a way to do a delayed zone reload, which would show some indicator that the zone will reload in x seconds and then perform the actual reload?
Solution
OTHER TIPS
You can populate the zone with a throbber (or some text) while you wait
- http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/loadingspinner
- http://java.dzone.com/articles/adding-ajax-throbbers-zone
Or you can get some inspiration from the ProgressLink component which keeps polling a serverside task for it's percentage complete until it hits 100%
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow