Hi All,
I have a code which checks for duplicate value in the database and displays that duplicate record. I want to put the duplicate record value in a table of a popup window. Can you please tell me how do i acheive this?
I tried the below code for creating a popup but most of the methods used here are deprecated. Please help
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
"MyWindowName");
// create the Window
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);
window.setTitle("WindowTitle");
// Save WindowInstance in Context
wdContext.currentContextElement.setWindowInstance(window);
// and show the window
window.open();
Regards
Suresh