Sunday, March 29, 2015

JDev/ADF sample - Automatic ADF Popup Opening on Fragment Load

  • Automatic ADF Popup Opening on Fragment Load. I had a post about opening ADF Popup on page load - Opening ADF PopUp on Page Load. Approach is quite straightforward, developer needs to use showPopupBehavior operation with appropriate trigger type. When it comes to ADF Popup opening on fragment load, implementation is a bit more complex. There is a known method to implement hidden text field and in the getter method call your custom logic - getter will be executed when fragment loads. However, this is not very efficient, you will need to add condition to distinguish between first and subsequent calls to the getter (it will be executed multiple times). I will describe in this post different approach - using ADF poll component and forcing it to execute only once after fragment load.
    Download - FragmentPopUpLoadApp.zip

No comments: