Re: Tapestry.ZONE_UPDATED_EVENT issue

2012-05-16 Thread bogdan_cm
Thank you both for the reply. "bind" was my first try and I eventually tried with "on". I'll try the Prototype version as well. Funky problem :). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-ZONE-UPDATED-EVENT-issue-tp5708402p5711203.html Sent from the Tapest

Re: Tapestry.ZONE_UPDATED_EVENT issue

2012-05-16 Thread nquirynen
Your jquery selector is wrong I think it has to be $('#mediaZone'). So with the "#" as it's the id attribute. Also I always use jqueries "bind" function. Not sure if thats the problem though. $('#mediaZone').bind(Tapestry.ZONE_UPDATED_EVENT, function(event) { ... } -- View this message in con

Re: Tapestry.ZONE_UPDATED_EVENT issue

2012-05-13 Thread Steve Eynon
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").

Tapestry.ZONE_UPDATED_EVENT issue

2012-05-13 Thread bogdan_cm
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: Some other code here. my jquery event handler sitting in th