Using version 1.4.3

Would really ppreciate suggestions.

> From: ed_b...@hotmail.com
> To: users@wicket.apache.org
> Subject: Closing ModalWindows on page with multiple modal windows
> Date: Fri, 4 Dec 2009 15:09:22 -0800
> 
> 
> Hi,
> 
> I have a page with several panels each of them them have links that open 
> modal windows. Essentially there are a number of modal windows on the page 
> most are hidden.  They all open up and I am able to close them with the Cross 
> (X) link. 
> 
> 
> In one of the modal windows the content has an ajaxLink that closes the modal 
> window.
> 
> 
> AjaxLink cancelSyncLink = new AjaxLink("CloseWindowLink") {
>             @Override
>             public void onClick(AjaxRequestTarget target) {
>             
>                 log.info("CloseWindowLink called");
>                 modalWindow.closeCurrent(target);
>                // modalWindow.close(target);
>             }
>         };
> 
> 
> The function gets called but the modal window does not close. 
> 
> I have tried both closeCurrent and close calls.
> 
> 
> The same works on a page that has only one ModalWindow. 
> 
> 
> Any ideas how I can fix this. 
> 
> 
> thanks!
>                                         
> _________________________________________________________________
> Windows Live Hotmail gives you a free,exclusive  gift.
> http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_7:092009
                                          
_________________________________________________________________
Windows 7: Unclutter your desktop. Learn more.
http://www.microsoft.com/windows/windows-7/videos-tours.aspx?h=7sec&slideid=1&media=aero-shake-7second&listid=1&stop=1&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_7secdemo:122009

Reply via email to