Embedding a view to a windo in Java WD
I need to create a dialog box, that pops up on a button click.
This box should contain some text, a text box for entering input, and "ok,"cancel" buttons.
1. Is there some type of predefined window that I can use?
2. In case the answer for 1 is "no", I assume I should create a new window, and embed a view to it. Can you please explain me how it is done?
Below is the code for the same:
IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWnidows(<name of your window>);
// Remember the name should be exactly same keeping the case sensitivity in mind.
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);