Skip to Content

Dialog box which block current execution

Hi,

I'm looking for a solution which show me up a pop-up dialog box, and after the creation of this, it will block the execution of my main code until the user click on the OK button into the popup dialog box.

I try to use modal window, but it doesn't block the execution.

e.g.

CODE A

CREATION DIALOG BOX

SHOW DIALOG BOX

CODE B

when the dialog is shown, then the code B is executed only if we destroy the dialog box.

Thanks

Regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 17, 2006 at 10:06 AM

    Berthe,

    If you are using WD for Java then:

    1. Use IWDWindowManager (wdComponentAPI.getWindowManager()) to create confirmation dialog.

    2. In some action handler run code A, then open confirmation dialog

    3. In event handler for button in confirmation dialog place code B.

    Valery Silaev

    SaM Solutions

    http://www.sam-solutions.net

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2006 at 12:16 PM

    hi

    good

    go through these links, which ll give you brief idea about the dialog box and the execution procedure.

    https://weblogs.sdn.sap.com/pub/wlg/4513?page=last&x-showcontent=off [original link is broken] [original link is broken] [original link is broken] [original link is broken]

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc57c23fd600

    thanks

    mrutyun^

    Add comment
    10|10000 characters needed characters exceeded