Re: T5 how to execute javascript after zone update?

2009-04-20 Thread Howard Lewis Ship
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

Re: T5 how to execute javascript after zone update?

2009-04-15 Thread Hugo Palma
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

T5 how to execute javascript after zone update?

2009-04-14 Thread grabarz
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

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread DH
: grabarz umrzy...@gazeta.pl To: users@tapestry.apache.org Sent: Wednesday, April 15, 2009 5:37 AM Subject: T5 how to execute javascript after zone update? is there any way to execute custom piece of javascript after zone update? inside tapestry.js i found: loadScriptsInReply : function(reply

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread Fernando Padilla
this: JSONObject response = new JSONObject(); response.put(script, alert('ff');); return response; Thanks, DH - Original Message - From: grabarz umrzy...@gazeta.pl To: users@tapestry.apache.org Sent: Wednesday, April 15, 2009 5:37 AM Subject: T5 how to execute javascript after zone

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread DH
10:16 AM Subject: Re: T5 how to execute javascript after zone update? You use the normal RenderSupport.addScript(..) method. And tapestry adds it to the json response, and it gets executed by loadScriptsInReply... DH wrote: 1. If your return is Block or Zone, just put script.../script

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread Fernando Padilla
@tapestry.apache.org Sent: Wednesday, April 15, 2009 10:16 AM Subject: Re: T5 how to execute javascript after zone update? You use the normal RenderSupport.addScript(..) method. And tapestry adds it to the json response, and it gets executed by loadScriptsInReply... DH wrote: 1. If your return is Block

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread DH
Not yet, thanks for remind, I will try soon. If so, cool. Thanks, DH - Original Message - From: Fernando Padilla f...@alum.mit.edu To: Tapestry users users@tapestry.apache.org Sent: Wednesday, April 15, 2009 11:19 AM Subject: Re: T5 how to execute javascript after zone update? did