yeah I tried both show and update methods, didn't really work.
I finally got it to work by just adding the following to my event link.
onclick="editWindow.show('editWindow'); resizeWindow(500, 500);"
So right after (or is it before) it calls the event method it also shows the
Window. Not ideal and it could potentially, show the window before Ajax event
could return the Zone content inside the window, but seems to work.
Tapestry certainly requires a lot of effort to get small things done.
Thanks Thiago for the Ajax.Responder recommendation, I'll look into it.
----- Original Message ----
From: Thiago H. de Paula Figueiredo <[email protected]>
To: Tapestry users <[email protected]>
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 <[email protected]>
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 Ajax.Responders.register(responder)? Documentation at
http://www.prototypejs.org/api/ajax/. It is a way to provide some global
callback functions to made through Ajax.Request, Ajax.Updater and
Ajax.PeriodicalUpdater.
--Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]