Help on fnd:applicationsPanel saveAndClose
I was making change on fnd:applicationsPanel that adding a validation to exist saveAndCloseActionListener for save and close button.
<fnd:applicationsPanel id="P1"
..........
saveAndCloseActionListener="#{backingBeanScope.MyTestBean.testSaveAndClose}"
saveAndCloseAction="#{backingBeanScope.MyTestBean.testSaveAndCloseAction}">
I was adding a validation in backingBeanScope.MyTestBean.testSaveAndClose. My logic requires that if validation failed, an popup will be come up and the current page should not be closed.
the problem is I can not stop current page been closed, i try to ask saveAndCloseAction to return null, but it didn't work.
I have to use saveAndClose button since i could not change save and close button in another way.
Do you guys have any solutions?
Thank you in advance.