Refreshing a Tapestry zone on a regular basis
ajax, tapestry
Solution
You could use Prototype's PeriodicalExecuter, and have that call Tapestry's ZoneManager to update the zone:
new PeriodicalExecuter(function(pe) {
var zoneObject = Tapestry.findZoneManager(element);
zoneObject.updateFromUrl(updateUrl);
}, 5);
Problem
What is the best way to refresh a Tapestry zone on a regular basis to pull changes of a dataset from a server?