Hi Matthias,
as second parameter of deferredZoneUpdate() function You need to
provide a event link to a function that returns a block or a
Zone.Body, something like:
@OnEvent("update-zone-event")
Object myEvent() {
return request.isXHR()?zone.getBody():null;
}
the event Link, t
Thanks to both of you, I tried Howard's approach but I think I missing
something fundamental.
Heres my new code:
JavaScript
require([ "jquery", "t5/core/zone" ], function($, zoneManager) {
// #1 with zone.update
var myZone = $("#myZone");
// why do I have to set the data-update-zone
Hi,
we love the IOC and are using it in our standalone Java applications as
well as our web applications. I do however have a problem with overriding
services. When using the suggestions from the cookbook (
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html) to
override a service
The short form is: trigger an events.zone.update event on the zone's
client-side element to update it immediately, using available content (a
string, or DOM elements).
Or, trigger events.zone.refresh event when you know a URL and additional
parameters; Tapestry will run the Ajax request and updat