Wednesday, June 5, 2013

Uncommited / Unsaved Data Warnig on page

بسم الله الرحمن الرحيم
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا يا رب العالمين
---------------

When we visit some websites and try to close browser tab, it shows warning message like this image
 
    To do this in Oracle ADF you have to do nothing complex, if you are using .jspxthen it is so simple.

  1. Select af:document from page structure and go to property inspector, now SetUncommitedDataWarning to on.
    Now when you have uncommited data in your page and you want to navigate yo other page or want to close same page it will show a message

    When Navigate to another page and page has Uncommited Data-
    When try to close tab and page has Uncommited Data-

    والسلام عليكم ورحمته الله وبركاته
    << سبحانك اللهم وبحمدك أشهد أن لا اله الا أنت أستغفرك وأتوب اليك >>

1 comment :

Related Posts Plugin for WordPress, Blogger...