cancel
Showing results for 
Search instead for 
Did you mean: 

Handling close/exit event in Visual composer application

Former Member
0 Kudos

Hi,

Is there an option to handle the close/exit event (by clicking on close/exit button of window) in visual composer application? (Similiar to the WDDOEXIT/WDDOCLOSE methods available in Webdynpro ABAP). 

I am trying to generate a popup or message when user close/exit the application by clicking on close/exit button of window.

Thanks & Regards,

Vinod

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos


Hi Vinod! You can use WorkProtectMode for this.

Create a Web Dynrpo Java Component with a method that contains the necessary code to set/unset WorkProtect Dirty flag. Embed this Web Dynpro Component into your VC Model and pass a value to set the WorkProtect Dirty flag.

Finally, set the Work Protect Mode for end users by using Personalize option.

Refer the following guide for more information on Work Protect mode:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a891e490-0201-0010-fb99-b7e4f5dda...

For more info on how to use Web Dynpro Java components in Visual Composer applications check the following guide. It shows you certain important settings in WDJ component that are necessary to use a WDJ DC in VC such as adding to public part, creating a component interface, etc.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20327c85-9bbc-2b10-968b-bca4bdfa4...

Hope this helps!

-Chintan

Former Member
0 Kudos

Thanks ,  I will try this.

Regards,

Vinod

Vasilis
Advisor
Advisor
0 Kudos

Hi,

I don't think so. I've seen this only in popup containers.

Regards,

Vasilis