AjaxModalDialog.close(context()) being ignored
AjaxModalDialog.close(context()) being ignored
- Subject: AjaxModalDialog.close(context()) being ignored
- From: Paul Hoadley <email@hidden>
- Date: Wed, 2 Feb 2011 13:32:32 +1030
Hello,
I'm using WO 5.4.3, and Ajax.framework that I downloaded just now to see if there had been a fix, but the rest of Wonder from a month or so ago.
I have a page that contains two AjaxModalDialogs with different 'id' bindings. They're quite similar, both containing two AjaxSubmitButtons, one of which is a "Cancel" button, the other performs some task. The action methods for both of those task buttons are pretty similar: perform a task, AjaxModalDialog.close(context());, return null. One of the AMDs closes after the action is performed, the other doesn't. The page gets updated properly behind the translucent drop-down, but I have to click the 'X' button to close the AMD.
I can't put my finger on any relevant differences between the two AMDs, or their action methods. I've simplified the page and removed the AMD that functions correctly, the other one still fails to respond to AjaxModalDialog.close(context()) when it's the only AMD on the page. I see nothing in Safari's error console. Firebug shows two fewer GET requests in the AMD that's not closing compared to the one that is.
Are there known conditions where AjaxModalDialog.close(context()) will fail?
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden