Skip to Content
0

Parent window objects are accessible even when ModelWindow is being displayed

Mar 10, 2017 at 06:57 AM

29

avatar image
Former Member

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.setWindowPosition(WDWindowPos.CENTER);
popupWindow.setWindowSize(1000, 500);
popupWindow.show();
wdContext.currentContextElement().setCommentWindowInstance(popupWindow); 
//Closing window
IWDWindow window = wdContext.currentContextElement().getCommentWindowInstance();
window.destroyInstance(); 

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

Early reply appreciated.

Regards

Kantha

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Mar 10, 2017 at 09:34 AM
0

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.

:)

Regards,

Kantha

Share
10 |10000 characters needed characters left characters exceeded