on 02-11-2008 11:25 AM
Hello!
How can I display very simply a ConfirmationDialog to show an iformation?
Regards
sas
Hi Ayyapparaj thank you!
Regards
sas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
following links will help you to get a clear understanding
http://help.sap.com/saphelp_nw04/helpdata/en/b0/184540631d6f13e10000000a1550b0/frameset.htm
Regards
Ayyapparaj
Ayyapparaj KV
how can I define a close event handler. I dont have a close event handler
Regards
sas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the following:
IWDControllerInfo cont = wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog conDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,cont.findInEventHandlers("Ok"),"ok");
conDialog.addChoice(cont.findInEventHandlers("newEmail"),"new email");
conDialog.setTitle("E-Mail Success");
conDialog.show();
Here the parameter which findInEventHandlers() method takes is the name of the event methods where you can process the click of specific button on confirmation.
Hope this will help you.
thanks & regards,
Manoj
Edited by: Manoj Kumar on Feb 11, 2008 5:05 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use as follows
//Usage: wdComponentAPI.getWindowManager().createConfirmationWindow(confirmationText, action, label)
IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
String dialogText = "Your message Goes Here";
//controllerInfo.findInEventHandlers("Close") Close event handler should be existing , its case sensitive
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(
dialogText,controllerInfo.findInEventHandlers("Close"),"Close");
dialog.show();
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.