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
>
>

Reply via email to