• SSJS Confirm action

    By Ravi Kiran Papishetty 1 decade ago

    I have a xPage with PostNewDocument event, I want to write confirm action in the middle of the SSJS code to execute remaining part of the code, I am not able to find SSJS in the PostNewDocument event, I tried to put the confirmation message in a dialogbox and try to display Dialogbox by using getCompomnent(“Dialobox”).show but no luck, I was not able to get the dialogbox in the PostNewDocument event, all I need is something like window.confirm in the SSJS, please help me…