Re: Invoking a custom show javascript method for a Zone

2009-03-04 Thread Dave Greggory
From: Thiago H. de Paula Figueiredo thiag...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, March 3, 2009 10:33:44 PM Subject: Re: Invoking a custom show javascript method for a Zone Em Wed, 04 Mar 2009 00:25:35 -0300, Fernando Padilla f...@alum.mit.edu escreveu: so

Invoking a custom show javascript method for a Zone

2009-03-03 Thread Dave Greggory
I'm having trouble invoking my own javascript method after a Zone is rendered from an event. I have a Zone inside a ChenilleKit Window. And I have an event link that updates the Zone. That works fine, and clicking on a different link to display the Chenille Kit Window (containing the zone)

Re: Invoking a custom show javascript method for a Zone

2009-03-03 Thread Igor Drobiazko
The show functon should be a function of the Tapestry JavaScrip object Tapestry.ElementEffect. You should extend this object by your 'showeditorzone' function, then it will work fine. On Tue, Mar 3, 2009 at 7:36 PM, Dave Greggory davegregg...@yahoo.comwrote: I'm having trouble invoking my own

Re: Invoking a custom show javascript method for a Zone

2009-03-03 Thread Fernando Padilla
You might have already tried this, but, you know that there is a show operation and an update operation.. so you maybe you should set both? Dave Greggory wrote: Thanks for the suggestion, Igor. Unfortunately, it didn't work. So I tried doing the following in AfterRender.

Re: Invoking a custom show javascript method for a Zone

2009-03-03 Thread Thiago H. de Paula Figueiredo
Em Wed, 04 Mar 2009 00:25:35 -0300, Fernando Padilla f...@alum.mit.edu escreveu: so you maybe you should set both? Maybe we should file a JIRA for another parameter for Zone-supported components? One to specify a callback (or set of callbacks) to AJAX requests? Have you guys tried