• SSJS Confirm Message

    By Ravi Kiran Papishetty 1 decade ago

    All, 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 confirm action code in the SSJS for the PostNewDocument event, I tried to put the confirm 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 as getComponent() is NULL  in the PostNewDocument event, all I need is something like window.confirm in the SSJS please help me…