cancel
Showing results for 
Search instead for 
Did you mean: 

Confirmation Dialog

Former Member
0 Kudos

Hey Smarties

I am looking for a way of changing the confirmation dialog header text, as it comes by default "Confirmation dialog" and I like it to be "Bla Bla Bla", Can I do that???

By the way this is my code...

IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();

String dialogText = "The quantity that you entered is incorrect.";

IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(

dialogText,controllerInfo.findInEventHandlers("Return"),"Return");

dialog.open();

Accepted Solutions (1)

Accepted Solutions (1)

former_member485701
Active Participant
0 Kudos

Hi,

IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();

String dialogText = "The quantity that you entered is incorrect.";

IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(

dialogText,controllerInfo.findInEventHandlers("Return"),"Return");

/*Set the tilte here**/

dialog.setTitle("Title");

dialog.open();

Regards,

Praveen

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

dialog.setTitle("Your Title");

have fun

Stefan