I forgot to say that I use wicket 1.4.15

Hi,

 

I have a problem when I try to close a modal window.

 

The idea is that I have a ModalWindow created with setContent inside a
ModalWindow created with getPageCreator and when  I try to close with
ModalWindow.closeCurren() the javascript alert appear with the message
"Close the top-level modal window first".

 

I create first ModalWindow also with setContent and the second one close
correctly (without javascript warning).

 

My problem is that I can't use setContent in first ModalWindow because it
takes too much time to open instead of getPageCreator.

 

Any idea on how to close the second ModalWindow if the first ModalWindow is
created using getPageCreator?

 

Thanks!

 

P.S. - My problem is the same with:
http://apache-wicket.1842946.n4.nabble.com/Fail-to-close-ModalWindow-on-top-
of-ModalWindow-td1879540.html 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to