You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by freak182 <em...@gmail.com> on 2009/04/14 11:25:41 UTC

Re: Fail to close ModalWindow on top of ModalWindow

Hello,

My problem is the ModalWindow is not appearing in IE..any resources?... 
Is the issue already resolved? 

Thanks a lot.
Cheers.



Mr Mean wrote:
> 
> Could you open up an issue for this?
> 
> Maurice
> 
> On Wed, Apr 9, 2008 at 10:16 AM, Nili Adoram <ni...@qlusters.com> wrote:
>> Hi all,
>>  I have a ModalWindow "A" containing a page  i.e. opened as an iframe.
>>  This modal opens another ModalWindow "B" containing a panel.
>>  Window "B" contains a simple AjaxLink that should close "B".
>>
>>  add(new AjaxLink("cancel") {
>>
>>            @Override
>>            public void onClick(AjaxRequestTarget target) {
>>
>>                ModalWindow.closeCurrent(target);
>>            }
>>
>>        });
>>
>>  However, when I click this AjaxLink in order to close "B" the following
>> message is displayed:
>>  'You can\'t close this modal window. Close the top-level modal window
>> first.'
>>
>>  This message is displayed since isIframe() returns true, which is
>> problematic since "B" is not an iframe but a div.
>>
>>  Is there a workaround for this issue ?
>>
>>  --
>>  Best,
>>  Nili
>>  ===================================
>>  Nili Adoram
>>  GRM Team, R&D, Qlusters Inc.
>>  nili.adoram@qlusters.com
>>  +972-3-6236636
>>
>>
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>  For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Fail-to-close-ModalWindow-on-top-of-ModalWindow-tp16581875p23036099.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Fail to close ModalWindow on top of ModalWindow

Posted by freak182 <em...@gmail.com>.

I mean the modal window is not appearing inside iframe in IE7.


freak182 wrote:
> 
> Hello,
> 
> My problem is the ModalWindow is not appearing in IE..any resources?... 
> Is the issue already resolved? 
> 
> Thanks a lot.
> Cheers.
> 
> 
> 
> Mr Mean wrote:
>> 
>> Could you open up an issue for this?
>> 
>> Maurice
>> 
>> On Wed, Apr 9, 2008 at 10:16 AM, Nili Adoram <ni...@qlusters.com> wrote:
>>> Hi all,
>>>  I have a ModalWindow "A" containing a page  i.e. opened as an iframe.
>>>  This modal opens another ModalWindow "B" containing a panel.
>>>  Window "B" contains a simple AjaxLink that should close "B".
>>>
>>>  add(new AjaxLink("cancel") {
>>>
>>>            @Override
>>>            public void onClick(AjaxRequestTarget target) {
>>>
>>>                ModalWindow.closeCurrent(target);
>>>            }
>>>
>>>        });
>>>
>>>  However, when I click this AjaxLink in order to close "B" the following
>>> message is displayed:
>>>  'You can\'t close this modal window. Close the top-level modal window
>>> first.'
>>>
>>>  This message is displayed since isIframe() returns true, which is
>>> problematic since "B" is not an iframe but a div.
>>>
>>>  Is there a workaround for this issue ?
>>>
>>>  --
>>>  Best,
>>>  Nili
>>>  ===================================
>>>  Nili Adoram
>>>  GRM Team, R&D, Qlusters Inc.
>>>  nili.adoram@qlusters.com
>>>  +972-3-6236636
>>>
>>>
>>>
>>>
>>>  ---------------------------------------------------------------------
>>>  To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>  For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Fail-to-close-ModalWindow-on-top-of-ModalWindow-tp16581875p23036123.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org