There's now an event you can observe that gets triggered just after the content of the zone is updated. The event is fired on the Zone's <div> element. See the nightly docs (Zone component reference) for details.
On Wed, Apr 15, 2009 at 1:46 AM, Hugo Palma <hugo.m.pa...@gmail.com> wrote: > There was a discussion on the list recently regarding this subject ( > http://www.nabble.com/Executing-javascript-on-ajax-call-return-td22667258.html > ). > An issue was created for this, you can watch/vote for it here > https://issues.apache.org/jira/browse/TAP5-624 > > 2009/4/14 grabarz <umrzy...@gazeta.pl> > >> is there any way to execute custom piece of javascript after zone >> update? inside tapestry.js i found: >> >> loadScriptsInReply : function(reply, callback) >> >> * Passed the JSON content of a Tapestry partial markup response, >> extracts >> * the script and stylesheet information. JavaScript libraries and >> stylesheets are loaded, >> * then the callback is invoked. >> >> and indeed it tries to evaluate passed script: >> >> if (reply.script) eval(reply.script); >> >> the question is, how to inject my javascript into reply? >> >> cheers, >> m. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org