on 03-23-2007 11:38 AM
hi all,
i have to display a message on click of a button. when i click the button, a message needs to be displayed in a confirmation dialog box with ok and cancel buttons.
how can i write code for that?
and
is there any chance of changing the Ok and Cancel buttons to Yes and No respectively??
Thnk u.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narayan,
You can go through the following tutorial for this
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/42af9f90-0201-0010-6099-ba67e5426bdf">Link</a>
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mr.Murthy,
Please check the below link for more detailed example
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef5... [original link is broken]
regards
Anil Dichpally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Narayana,
Confirmation dialog Box has only the "OK" Button ,it doesnt have cancel button.
As per ur requirement u can create window which has 1 view.
In this view u can have 2 Buttons "Ok" and "CANCEL".U can minimize the
window's height and length also...!!
Regards,
Ramganesan K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
String dialogText = "The email was successfully sent!";
IWDConfirmationDialog dialog =
wdComponentAPI.getWindowManager().createConfirmationWindow(
dialogText,
controllerInfo.findInEventHandlers("ok"),
"ok");
dialog.addChoice(controllerInfo.findInEventHandlers("CAncel"), "cancel");
Goto view and in actions create ok and cancela actions.
Thanks,
Lohi.
dialog.open();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
there is a tutorial called "Creating Dialog Boxes":
/docs/DOC-8661#23 [original link is broken]
You will find the most information you need there.
kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
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.