What is the best way to refresh a Tapestry zone on a regular basis to pull changes of a dataset from a server?
+1
A:
You could use Prototype's PeriodicalExecutor, and have that call Tapestry's ZoneManager to update the zone:
new PeriodicalExecuter(function(pe) {
var zoneObject = Tapestry.findZoneManager(element);
zoneObject.updateFromUrl(updateUrl);
}, 5);
Henning
2009-06-24 09:08:27