Solution:
1. Set popup's 'contentDelivery' property to 'lazyUncached'. Setting this property won't cache the data entered and won't restore the previously entered values. This is highly recommended to set contentDelivery="lazyUncached" for better performance as the popup will be loaded only on invocation but not at the time of page loading.
<af:popup id="popup1" binding="#{pageFlowScope.ClassSectionCreateBean.cancelWarningPopup}" contentDelivery="lazyUncached">
2. If the step1 doesn't work, drop af:resetActionListener as a sub-element to 'Cancel' button in the popup. ResetActionListener will reset the form fields in the popup. We can also call ResetActionListener programmatically in an actionlistener method as follows using Oracle's internal API.
public void saveSections(ActionEvent ae) { //Your logic here ResetActionListener ral = new ResetActionListener(); ral.processAction(ae); }
But, using internal API in the code is not encouraged. There is public API to achieve the same using the below code.
UIComponent comp = actionEvent.getComponent(); oracle.adf.view.rich.util.ResetUtils.reset(comp);
But, this Public API is not yet available in the latest publicly available Jdeveloper available and it'll be available in the upcoming versions. Until then, we need to go ahead using internal API only as shown in step2.

