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