Re: Preventing the ModalWindow from being rendered as iframe

2020-07-07 Thread Lukas Fülling
Oh, so it's only decided by the content being either a page or a panel? Imo that should be appended to the documentation; the section that Martin Terra cited seemed to me like it was only concerning the title. Title is specified using setTitle(String). If the content is a page (iframe), the

Re: Preventing the ModalWindow from being rendered as iframe

2020-07-07 Thread Martin Grigorov
Hi, On Tue, Jul 7, 2020 at 1:26 PM Lukas Fülling wrote: > Hi, > > I'm currently trying to get Javascript callbacks from/to a Wicket > ModalWindow to work. > Currently, the WebPage the ModalWindow consis of is being redered as an > iframe. > > The Wicket documentation states the following: > > >

Re: Preventing the ModalWindow from being rendered as iframe

2020-07-07 Thread Martin Terra
Hi! Javadoc says ... *If the content is a page (iframe)* .. Can you show your code, if you are using a panel or a page as its content? ** Martin ti 7. heinäk. 2020 klo 13.26 Lukas Fülling (lerk@gammel.cloud.invalid) kirjoitti: > Hi, > > I'm currently trying to get Javascript callbacks from/to

Preventing the ModalWindow from being rendered as iframe

2020-07-07 Thread Lukas Fülling
Hi, I'm currently trying to get Javascript callbacks from/to a Wicket ModalWindow to work. Currently, the WebPage the ModalWindow consis of is being redered as an iframe. The Wicket documentation states the following: Modal window is a draggable window (with either div or iframe content)