on 2005 Sep 27 9:38 PM
Hi all,
Does anyone know how can I change the title of a confirmation dialog ?
Thanks,
Jesus.
Hi Jesus,
IWDConfirmationDialog extends IWDWindow interface. So you can use the method setTitle of IWDWindow to set the title.
Here is a sample code. Remember to create a eventhandler ok before running this.
IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
String dialogText = "Test successfull";
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText, controllerInfo.findInEventHandlers("ok"), "ok");
dialog.setTitle("Successful");
dialog.open();
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jesus,
IWDWindow has the setTitle() method only from SP12 onwards (https://media.sdn.sap.com/javadocs/NW04/SP12/webdynpro/com/sap/tc/webdynpro/services/session/api/IWDWindow.html).
So it all depends on your version. If you are using an older version, you have no <b>recommended</b> method for this (check the following links )
Best Regards,
Nibu.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.