You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Roy van Rijn <ro...@gmail.com> on 2008/01/10 23:10:40 UTC
Flash and Modal Window
Hi all,
I'm experimenting with modal windows in Wicket for the first time. But
I've got some strange behavior when I placed a Flash component on the
modal page.
Firefox everything works fine, the modal opens displaying a small
Flash movie. But in IE, when I click the Flash movie a popup comes up
with the close-warning (!?). For some reason the modal-close function
seems to be called.
It gets even stranger, because if I click either "Ok" or "Cancel" the
warning goes away but the window doesn't close. When I click the cross
to close the modal it doesn't give a warning and closes the modal just
fine.
Can somebody explain this behavior? I tried placing normal links (<a
href="#") on the page, but the behavior was normal.. only the Flash
movie triggered the warning.
If somebody needs the code I can mail it...
Roy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Flash and Modal Window
Posted by Roy van Rijn <ro...@gmail.com>.
Martijn suggested on IRC to change the modalwindow to Page instead of
Panel. This seems to do the trick... The behavior with Panel is still
very strange though, can't explain it.
On 1/11/08, Roy van Rijn <ro...@gmail.com> wrote:
> Ok, I created an example project and uploaded it.
> Could somebody please take a look at this... its probably something
> dead simple, I just can't find it.
>
> Again, Firefox works fine, IE is the problem..
>
> The code can be found here:
> http://www.redcode.nl/ExampleFlashModal.zip
>
> If you have questions, please mail me, or bug me on IRC (yoR).
>
> Roy
>
> On 1/10/08, Roy van Rijn <ro...@gmail.com> wrote:
> > Hi all,
> >
> > I'm experimenting with modal windows in Wicket for the first time. But
> > I've got some strange behavior when I placed a Flash component on the
> > modal page.
> >
> > Firefox everything works fine, the modal opens displaying a small
> > Flash movie. But in IE, when I click the Flash movie a popup comes up
> > with the close-warning (!?). For some reason the modal-close function
> > seems to be called.
> >
> > It gets even stranger, because if I click either "Ok" or "Cancel" the
> > warning goes away but the window doesn't close. When I click the cross
> > to close the modal it doesn't give a warning and closes the modal just
> > fine.
> >
> > Can somebody explain this behavior? I tried placing normal links (<a
> > href="#") on the page, but the behavior was normal.. only the Flash
> > movie triggered the warning.
> >
> > If somebody needs the code I can mail it...
> >
> > Roy
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Flash and Modal Window
Posted by Roy van Rijn <ro...@gmail.com>.
Ok, I created an example project and uploaded it.
Could somebody please take a look at this... its probably something
dead simple, I just can't find it.
Again, Firefox works fine, IE is the problem..
The code can be found here:
http://www.redcode.nl/ExampleFlashModal.zip
If you have questions, please mail me, or bug me on IRC (yoR).
Roy
On 1/10/08, Roy van Rijn <ro...@gmail.com> wrote:
> Hi all,
>
> I'm experimenting with modal windows in Wicket for the first time. But
> I've got some strange behavior when I placed a Flash component on the
> modal page.
>
> Firefox everything works fine, the modal opens displaying a small
> Flash movie. But in IE, when I click the Flash movie a popup comes up
> with the close-warning (!?). For some reason the modal-close function
> seems to be called.
>
> It gets even stranger, because if I click either "Ok" or "Cancel" the
> warning goes away but the window doesn't close. When I click the cross
> to close the modal it doesn't give a warning and closes the modal just
> fine.
>
> Can somebody explain this behavior? I tried placing normal links (<a
> href="#") on the page, but the behavior was normal.. only the Flash
> movie triggered the warning.
>
> If somebody needs the code I can mail it...
>
> Roy
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org