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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to reset dialog form fields when dialog is closed?

User517463-OracleAug 16 2011 — edited Feb 24 2012
Hi, I have a popup that invokes a dialog. The dialog has some form fields in it. If the user closes the dialog (i.e. user clicks the X in the upper right) and then re-opens it, whatever they entered in the form fields still shows. I want to have those fields cleared and reset if they re-open the dialog.

The document at http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_dialog.html mentions the following: You can force the af:popup to reset any input components in its content when canceled using the resetEditableValues property set to "whenCanceled".

The problem is that I don't see any resetEditableValues property available on af:popup. I'm currently using Jdeveloper Studio Edition 11.1.1.4.0. Is this property only available on a later version?

Is there some other way to achieve what I want to do? Thanks for any help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2012
Added on Aug 16 2011
14 comments
6,731 views