You need to requre the events module and listen to events.zone.update or
without the events module dependency just "t5:zone:update".
The global Tapestry namespace (from 5.3) is replaced various with requrejs
modules.

Excerpt from events.js
zone: {
      update: "t5:zone:update",
      willUpdate: "t5:zone:will-update",
      didUpdate: "t5:zone:did-update",
      refresh: "t5:zone:refresh"
    },


Cheers,
Dragan Sahpaski


On Thu, Feb 20, 2014 at 1:52 PM, Nathan Quirynen <
[email protected]> wrote:

> Hey,
>
> In my Tapestry 5.3.7 application I made use of
> Tapestry.ZONE_UPDATED_EVENT to fire some javascript on a zone update.
> Now I'm using Tapestry 5.4-beta-3 in a new application, but I cannot get
> it to work. Is this supposed to still work, or is there a new way of
> handling this?
>
> $("#zoneTest").bind(Tapestry.ZONE_UPDATED_EVENT, function() {
>    console.log('test');
> }
>
> Nathan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to