on 11-21-2007 12:34 PM
Hi all,
I have an application which has continue button.if the userclicks on this button a pop has to come with the msg as "Do u want to continue" ..followed by Yes and No....
how to show popup msgs in my webdynpro application
Regards
Padma N
Hi! padma,
please go through the following tutorial, you will get a good idea..
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23</a>
you need to create an object of IWDConfirmationDialog and also the eventHandle.
regards,
Mithileshwar Sahu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI padma,
Use this code
IWDControllerInfo controllerInfo =
wdControllerAPI.getViewInfo().getViewController();
String dialogText = "Are you sure you want to continue?";
IWDConfirmationDialog dialog =
wdComponentAPI.getWindowManager ().createConfirmationWindow(
dialogText,
controllerInfo.findInEventHandlers("Yes"),"Yes");
dialog.addChoice(
controllerInfo.findInEventHandlers("onActionNo"), "No");
dialog.show();
Regards,
karthik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Create 2 event handlers with name Yes and No in the methods tab.
You can use Confirmation window for this.
IWDEventHandlerInfo eventyes = wdControllerAPI.getViewInfo().getView().findinEventHandlers("Yes");
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationDialog("Are you sure you want to continue",eventyes,"Yes");
IWDEventHandlerInfo eventno = wdControllerAPI.getViewInfo().getView().findinEventHandlers("No");
dialog.addChoice(eventno,"No");
dialog.show();
Warm Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.