Recent Posts
Archives
Categories
Blog Stats
- 26,245 hits
Join 1,054 other subscribers
Into the charm of Oracle Webcenter and ADF
While developing a Form on ADF pop-up I have learned that the pop-up is fetched once on page load. On canceling the pop-up & open it again it still persists its data which is not what we all need.
I have tried many ways to reset the form as setting contentDelivery=”lazyUncashed” , resetting all the fields programmatically , delete dirty data & clear VO cache associated with the form. Until i found the magic line which resets the component as it wasn’t fetched before
UIComponent myPopupComponent = actionEvent.getComponent();
oracle.adf.view.rich.util.ResetUtils.reset(myPopupComponent);
Good job, we met same problem, perfect solved it using your magic lines.
You saved my life!