Not yet, and I'm not sure I'm going to soon. Supporing modal window in
iframe might be too big change for 1.3, because of they way modal
window internally works.

Btw. you example is broken, because you load page from
wicket-library.com, which is different domain than where the iframe
is. That will not work at all, since it would be cross-domain
scripting, which browsers don't allow.

-Matej

On 11/4/07, Deepak Mahavishnu <[EMAIL PROTECTED]> wrote:
> Hi Matej!
> Have you been able to reproduce this problem?
> DM
>
> 2007/11/1, Deepak Mahavishnu <[EMAIL PROTECTED]>:
> >
> > Hi Matej!
> > And thanks for a quick response!
> >
> > I opened a jira issue related to this. The quick start is very straight
> > forward:
> >
> > Just create a html page with this source:
> >
> > <html>
> > <body>
> > <iframe src="
> > http://www.wicket-library.com/wicket-examples/ajax/modal-window.1";
> > width="100%" height="100%"></iframe>
> > </body>
> > </html>
> >
> > And then open "Show modal dialog with panel" and try to close the dialog.
> >
> > Mahavishnu
> >
> > 2007/11/1, Matej Knopp <[EMAIL PROTECTED]>:
> > >
> > > The modal window probably won't work well when paced in a page that is
> > > loaded in iframe. Still, if you can provide a quickstart assigned to a
> > > JIRA entry I will take a look if there is a quick fix for your
> > > problem.
> > >
> > > -Matej
> > >
> > > On 11/1/07, Deepak Mahavishnu <[EMAIL PROTECTED]> wrote:
> > > > Hello!
> > > >
> > > > I'm doing some POC testing to find out how a wicket application could
> > > be
> > > > used through an IFrame and noticed that closing of a ModalWindow
> > > fails.
> > > >
> > > > My setup:
> > > >
> > > > Application A:
> > > > -a dummy html page that has an IFrame
> > > > -the contents of the IFrame is requested from Application B
> > > > <iframe src="http://localhost:8080/mywicketapp/app/"; width="100%"
> > > > height="500"></iframe>
> > > >
> > > > Application B:
> > > > -a Wicket application that uses a ModalWindow
> > > > -deployed to tomcat:  http://localhost:8080/mywicketapp/
> > > >
> > > >
> > > > Problem:
> > > > The ModalWindow is not closed when OK ( or Cancel ) button is clicked
> > > when
> > > > Application B is used throug IFrame of Application A.
> > > > OK button performs the actual action (in my case deletes an item from
> > > a
> > > > list) but is not closed after the execution of the action.
> > > >
> > > > Closing of the ModalWindow works normally when Application B is not
> > > used
> > > > through an IFrame.
> > > >
> > > > Any suggestions how this could be solved?  Or is the usage through an
> > > IFrame
> > > > a bad idea from start?
> > > >
> > > > Any help is appreciated!
> > > >
> > > > Mahavishnu
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to