Try removing the double quotes from "Tapestry.ZONE_UPDATED_EVENT" :

 $jq("mediaZone").on(Tapestry.ZONE_UPDATED_EVENT, function(){
        alert("EVENT TRIGGERED");
 });

Failing that, not knowing anything about jQuery integration, I'd try
the more T5 standard Prototype functions:

 $("mediaZone").observe(Tapestry.ZONE_UPDATED_EVENT, function(event) {
        alert("EVENT TRIGGERED");
 });

Steve.



On 14 May 2012 04:29, bogdan_cm <bogdan.iva...@rbccm.com> wrote:
> Hello everyone,
>  I have this nagging little problem handling the zone updated event. I
> tried all that I could find on this forum and still cannot solve it.
>
> My TML zone:
>
>        <t:zone t:id="mediaZone" id="mediaZone">
>        <div id="big_photo_div">
>                Some other code here.
>        </div>
>        </t:zone>
>
>
> my jquery event handler sitting in the .js file and imported into the page:
>
> $jq("mediaZone").on("Tapestry.ZONE_UPDATED_EVENT", function(){
>        alert("EVENT TRIGGERED");
> });
>
> The above does not work when the zone is updated.
>
> Is there a working example posted anywhere? I can only find bits and pieces
> of examples that do not work when put together.
>
> Thanks very much,
> Bogdan.
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Tapestry-ZONE-UPDATED-EVENT-issue-tp5708402.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to