You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2007/11/21 03:21:43 UTC

[jira] Commented: (WICKET-1120) Problem closing a ModalWindow when used through an IFrame

    [ https://issues.apache.org/jira/browse/WICKET-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544144 ] 

Matej Knopp commented on WICKET-1120:
-------------------------------------

No. And I definitely don't see any reason for this to be a blocker.

> Problem closing a ModalWindow when used through an IFrame
> ---------------------------------------------------------
>
>                 Key: WICKET-1120
>                 URL: https://issues.apache.org/jira/browse/WICKET-1120
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-rc1
>            Reporter: Deepak Mahavishnu
>            Assignee: Matej Knopp
>            Priority: Blocker
>             Fix For: 1.4.0-alpha
>
>
> 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.
> Reproducing the problem:
> You can test this by creating 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.