Skip to Content
avatar image
Former Member

pop up window opening though its been destroyed

Hi All,

I opened the one pop up window, on clicking one button of that window that pop up window is getting closed because i destroyed that window instance. after some validations i have to show another pop up window. while this window is opening that old window is also opening with blank like bordered window. can any give solution for this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 11, 2011 at 11:04 AM

    Hi Ravi,

    As I understand you have a method in window A which closes that window, makes some validations and then opens another window. If that's correct, try making the opening call from the the parent window, not from a method of the closed one.

    Regards, Aldo.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ravi,

      Try nullifying the window object just before calling it.

      Something like, just before creating elements of a node, as a best practice we always invalidate the node.

      Apply the same logic here.


      Shreyas Pandya

  • avatar image
    Former Member
    Feb 14, 2011 at 06:58 AM

    Can u post the code which ur using... might be problem in coding.......

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      May be followong offcial documentation

      will help to create working case.

      And then to find difference with it.

      but worth try some else ways to reach appropriate behavior:


      more concrete ways to check:

      you may destroy current popup window from itself,

      and system may look for that to not occur.

      So that when destroying window, call method of the controller,

      and destroy it from there.


      May occur interesting bag if blocking occur in controller as mentioned here::

      IWDWindow do not get destroy completely!!!! Please Help

      So you can try to call method of destroying window from parent View.


      As well for working from parent the controller well working method hide()

      for window,

      instead of destroy.

      I think just some more resources it will take,

      but reliable working may be good compensation for that.