on 01-16-2008 12:50 PM
Hi,
Is it possible to popup the confirmation dialog in the Component controller code.
I have used to the following code to display in view controller.
**String dialogText=" Test Message";**
**IWDControllerInfo controllerInfo =wdControllerAPI.getViewInfo().getViewController();**
**IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,**
*** controllerInfo.findInEventHandlers("onActionOK"),"OK");***
I have a requirment to display the Confirmation dialog in component controller.
Please let me know if it is possible to achieve the same. Paste the API code as well.
Thanks and Regards,
Sekar
It is possible to create a pop up window in the component controller.
But this kind of creation of pop up window in component controller is required when the instance of the pop window in one view controller should be available to close the window in another view controller.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To add to this, In View Controller i have a confirmation Dialog and Click of that confirmation dialog, in action handler i am trying to create one more confirmation window which was not working.
Please suggest the possible solution to display a confirm window on click of a confirm window.
Thanks and Regards,
Sekar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I have found the code/API for this.
String dialogText="";
String confirmNo="12345";
IWDControllerInfo controllerInfo =wdControllerAPI.getComponentInfo().findInControllers("ConfirmComp");
*dialogText = "Test" *
* *
IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,
* controllerInfo.findInEventHandlers("OK"),"OK");*
* dialog.show();*
Regards,
Sekar
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.