Re: Executing javascript on ajax call return

2009-04-06 Thread Hugo Palma
I couldn't find an issue for this, so i created one https://issues.apache.org/jira/browse/TAP5-624 On Mon, Mar 23, 2009 at 11:19 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Is therea JIRA for that so I can vote on it? Em Mon, 23 Mar 2009 17:29:03 -0300, Fernando Padilla

Re: Executing javascript on ajax call return

2009-04-06 Thread Hugo Palma
- From: Hugo Palma [mailto:hugo.m.pa...@gmail.com] Sent: 24 March 2009 18:23 To: Tapestry users Subject: Re: Executing javascript on ajax call return I've just tried using renderSupport on a partial page render and it worked great. I'm using 5.1.0.2-SNASHOT. On Tue, Mar 24, 2009 at 4:14

Re: Executing javascript on ajax call return

2009-03-24 Thread Inge Solvoll
I agree too, that would make zones way more useful! On Tue, Mar 24, 2009 at 2:01 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Mon, 23 Mar 2009 21:53:55 -0300, Howard Lewis Ship hls...@gmail.com escreveu: I've been thinking for a while that there needs to be more

Re: Executing javascript on ajax call return

2009-03-24 Thread Hugo Palma
That would be great. Is there an issue already for this ? On Tue, Mar 24, 2009 at 12:53 AM, Howard Lewis Ship hls...@gmail.comwrote: I've been thinking for a while that there needs to be more client-side events, so that the zone element could ire tapestry:zone:fetched, tapestry:zone:show,

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
resorted to returning some inline JS in the markup returned. Nasty, but it works. I assume we've not missed a better way of doing this? -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 24 March 2009 00:54 To: Tapestry users Subject: Re: Executing javascript on ajax

Re: Executing javascript on ajax call return

2009-03-24 Thread Fernando Padilla
. Nasty, but it works. I assume we've not missed a better way of doing this? -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 24 March 2009 00:54 To: Tapestry users Subject: Re: Executing javascript on ajax call return I've been thinking for a while that there needs

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
. -Original Message- From: Fernando Padilla [mailto:f...@alum.mit.edu] Sent: 24 March 2009 15:35 To: Tapestry users Subject: Re: Executing javascript on ajax call return This already works.. when you do RenderSupport.addScript(), while rendering a zone/block, it will be executed when

Re: Executing javascript on ajax call return

2009-03-24 Thread Hugo Palma
To: Tapestry users Subject: Re: Executing javascript on ajax call return This already works.. when you do RenderSupport.addScript(), while rendering a zone/block, it will be executed when that zone is put into the page. But I can't remember what version of tapestry this got turned

Re: Executing javascript on ajax call return

2009-03-24 Thread Fernando Padilla
...@gmail.com] Sent: 24 March 2009 18:23 To: Tapestry users Subject: Re: Executing javascript on ajax call return I've just tried using renderSupport on a partial page render and it worked great. I'm using 5.1.0.2-SNASHOT. On Tue, Mar 24, 2009 at 4:14 PM, Blower, Andy andy.blo...@proquest.co.ukwrote

Re: Executing javascript on ajax call return

2009-03-23 Thread Thiago H. de Paula Figueiredo
Em Mon, 23 Mar 2009 16:20:08 -0300, Hugo Palma hugo.m.pa...@gmail.com escreveu: Is there a way to execute some javascript right after a zone update is performed ? I can't seem to find a place where i can register to listen for an ajax call return. Well, Prototype has a global way to

Re: Executing javascript on ajax call return

2009-03-23 Thread Fernando Padilla
Nope, there is no way to do javascript callbacks after a zone is updated. Zones right now are missing lifecycle callbacks, that you can hook into. They do have the show/update callbacks that the Effects hook into, but it could/should/hopefully will be expanded, eventually.. :) things like:

Re: Executing javascript on ajax call return

2009-03-23 Thread Thiago H. de Paula Figueiredo
Is therea JIRA for that so I can vote on it? Em Mon, 23 Mar 2009 17:29:03 -0300, Fernando Padilla f...@alum.mit.edu escreveu: Nope, there is no way to do javascript callbacks after a zone is updated. Zones right now are missing lifecycle callbacks, that you can hook into. They do have

Re: Executing javascript on ajax call return

2009-03-23 Thread Howard Lewis Ship
I've been thinking for a while that there needs to be more client-side events, so that the zone element could ire tapestry:zone:fetched, tapestry:zone:show, etc. On Mon, Mar 23, 2009 at 3:19 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Is therea JIRA for that so I can vote on it?

Re: Executing javascript on ajax call return

2009-03-23 Thread Thiago H. de Paula Figueiredo
Em Mon, 23 Mar 2009 21:53:55 -0300, Howard Lewis Ship hls...@gmail.com escreveu: I've been thinking for a while that there needs to be more client-side events, so that the zone element could ire tapestry:zone:fetched, tapestry:zone:show, etc. +1! -- Thiago H. de Paula Figueiredo