Skip to Content

Parent window objects are accessible even when ModelWindow is being displayed

Hello Experts,

Portal Version details:

VM Java Version: 1.6.0_131

VM Runtime Version: 6.1.098 25.51-b14

Java Kernel Version: 7.40.3301.407193.20160809100702

As given the code, the ModelWindow is working as expected, if it runs directly from NWDS, after build-deploy on the Portal Server.

But If the same application runs from iView, even the parent window objects are accessible/clickable when the modal window is still open.

// Create and open modal window
IWDWindowInfo popupWindowWindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopupCommentWin");
IWDWindow popupWindow = wdComponentAPI.getWindowManager().createModalWindow(popupWindowWindowInfo);
popupWindow.setWindowSize(1000, 500);;
//Closing window
IWDWindow window = wdContext.currentContextElement().getCommentWindowInstance();

Can anybody suggest solution on this problem? It has become quite serious and affecting all places where ever ModelWindow is used.

Early reply appreciated.



Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Mar 10, 2017 at 09:34 AM

    Hi Guys,

    As checked again, it is working, but only for the parent application window.

    It does not consider non-parent application window links as parent object.

    And it gave me clarification.




    Add comment
    10|10000 characters needed characters exceeded