on 10-30-2008 11:34 AM
Hi ,
can any one help me in displaying pop up message , when user clicks on submit I have to dispaly pop up message "do you want to proceed"
Regards,
Venki/
Hi,
Make use of Confirmation Messages
API -> IWDConfirmationDialog
Sample-> https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/creatingConfirmationDialogBoxinWebDynproJava
Regards
Ayyapparaj
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 try out the following code in the view controller:
String dialogText = "do you want to proceed ?";
IWDEventHandlerInfo eventHandler = wdControllerAPI.getViewInfo().getViewController()
.findInEventHandlers("OK");
// Create the confirmation dialog, with an "ok" button
IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager()
.createConfirmationWindow(dialogText,eventHandler,"OK");
dialog.open();
And then create a event handler method in view controller .
Thanks
Ritushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use the following code on submit button,
IWDControllerInfo coninfo =wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow("do you want to proceed.",coninfo.findInEventHandlers("Ok"),"Ok");
dialog.open();
create one eventhandler with name "Ok" .
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For this go for confirmation window
1) create two action handlers (ok and cancel)under method tab and just copy the following code
2)
IWDControllerInfo cntrl_info = wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog confirm = wdComponentAPI.getWindowManager().createConfirmationWindow("You are going to Exit, Want to Proceed?",cntrl_info.findInEventHandlers("cancel"),"Cancel");
confirm.addChoice(cntrl_info.findInEventHandlers("ok"),"Confirm");
confirm.setWindowSize(250,100); confirm.setWindowPosition(100,100);
confirm.show();
3) implement the functionality in ok method that you want to proceed.
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.