Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with confirmation popup window

Hi experts.

I'm presently trying to create some popup window, but I can't manage to find how to.

I've tried some SDN tutorials, and have had lots of deprecated functions problems.

But I've found this tutorial, which fits with the version I use (CE 7.11) : [New Features of Web Dynpro Popup Window - SAP NetWeaver CE 7.11|]

Inside it, a code is given (page 7) :

//@@begin javadoc:onActionOpenConfirmation(ServerEvent)
* Declared validating event handler.
*@param wdEvent generic event object provided by framework
public void onActionOpenConfirmation( wdEvent ) {
//@@begin onActionOpenConfirmation(ServerEvent)
IWDConfirmationDialog window = wdComponentAPI.getWindowManager()
wdThis.wdGetCloseAction(), "Close");
if (wdContext.currentContextElement().getHasCloseIcon()) {
IWDAction action = wdControllerAPI.getAction("Close");
window.setWindowSize(500, 200);;

In fact, when I click "organise imports", I have two choices :;



the ";" import gives me some errors I haven't managed to resolve :

see screenshot : [|]

the ";" import gives me lots of deprecated erros :

see screenshot :[|]

My question is : do you have an idea what to do to make to given code work ?

Thank you for advance.


Former Member
Not what you were looking for? View more on this topic or Ask a question