Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help on fnd:applicationsPanel saveAndClose

Morris LiJan 4 2013
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2013
Added on Jan 4 2013
0 comments
190 views