Skip to Content
0
Former Member
Mar 03, 2009 at 12:44 PM

Implementing WorkProtectMode in Webdynpro for Java

19 Views

Hi All,

Under a role i have 2 iviews in detailed navigation. Initially when i click on a Role one iview will be displayed by default.

Now if i click on second iview i need a popup asking for confirmation whether to save data or not.

First iview is a webdynpro iview.

Second iview is some Static text iview.

I have implemented the below code in my webdynpro application DOINIT method.

WDPortalWorkProtectMode.setApplicationDirtyControl(WDApplicationIsDirtyMode.STANDARD);

WDPortalWorkProtectMode.setApplicationDirty(true);

Can any one tell me whether the above code is correct and should i do any further changes.