Re: Modal failing to modify it's parent in ajax event

2017-05-09 Thread Martin Grigorov
essage in context: http://apache-wicket.1842946. > > > n4.nabble.com/Modal-failing-to-modify-it-s-parent-in-ajax- > > > event-tp4677800.html > > > Sent from the Users forum mailing list archive at Nabble.com. > > > > > > ------------- > > > T

Re: Modal failing to modify it's parent in ajax event

2017-05-09 Thread Entropy
hive at Nabble.com. > > > > - > > To unsubscribe, e-mail: [hidden email] > <http:///user/SendEmail.jtp?type=node=4677801=1> > > For additional commands, e-mail: [hidden email] > <http:///user/Sen

Re: Modal failing to modify it's parent in ajax event

2017-05-08 Thread Martin Grigorov
Hi, Since you use PageCreator then your modal page is loaded inside an iframe and all your findings are valid! You need to use JavaScript 'parent' or 'top' window references to manipulate the DOM of the page in the browser tab. Martin Grigorov Wicket Training and Consulting

Modal failing to modify it's parent in ajax event

2017-05-08 Thread Entropy
I have a wicket modal. On clicking a button in it, that is part of the form in the modal's page, I need to close the modal, put a message in the feedback of the parent page, and invoke a javascript method in the parent page. I am using the pagecreator approach to ModalWindow. This is Wicket