Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3
-
None
Description
MultiZoneUpdate presumes that there's a single place where all the zone to be updated are known. This is not necessarilly the case.
I'd like to see something like:
@Inject
private ZoneUpdater zoneUpdater();
Object onSuccess()
{
zoneUpdater.update("foo", fooBlock);
zoneUpdater.update("bar", barBlock);
return myZone.getBody();
}
The main point here is that different event handlers would all be able to invoke ZoneUpdater.update() .
This would also allow a single response to render main content (for the requesting Zone on the client) plus zone updates to named zones.