I found a possible fix to this problem. If you leave the
window.parent.setTimeout statement off and just call directly
win.current.close the modal window will be closed.
You can test this by changing getCloseJavacript method of the
ModalWindow.java to return this:
{
return "var win;\n"
Have you noticed that if you try to close the example window from OK or
CANCEL button it closes even when used through an iframe?
By using firebug, you can place breakpoints to modal.js and see that this
code is executed when the window is closed from OK button:
org/apache/wicket/extensions/ajax/
Hi!
2007/11/4, Matej Knopp <[EMAIL PROTECTED]>:
>
> 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.
Ok.
Btw. you example is broken, because you load page from
> wicket-library.c
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
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:
>
>
>
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:
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1";
width="100%" height="100%">
And then open "Show modal dia
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 do