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
gt; -Original Message- > > 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 rend

Re: Executing javascript on ajax call return

2009-03-24 Thread Fernando Padilla
o 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 PM, Blowe

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
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. >

Re: Executing javascript on ajax call return

2009-03-24 Thread Hugo Palma
um.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 that zon

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
n then. Thanks. > -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 > rend

Re: Executing javascript on ajax call return

2009-03-24 Thread Fernando Padilla
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 call return I've been think

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
t present we've 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 &

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 wrote: > 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 M

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 > escreveu: > > I've been thinking for a while that there needs to be more client-side >> event

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 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 Independent Java consul

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 wrote: > Is therea JIRA for that so I can vote on it? > > Em Mon, 23

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 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 the show/update ca

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
Em Mon, 23 Mar 2009 16:20:08 -0300, Hugo Palma 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 provide these callbacks:

Executing javascript on ajax call return

2009-03-23 Thread Hugo Palma
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. Thanks.