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!

Reset inputs inside a specific component using <af:resetListener> in ADF

AkilTharOct 8 2020

Instead of resetting all the inputs, is there a way to reset inputs inside a specific component using the af:resetListener .

<af:commandButton text="ButtonText" id="cl1" immediate="true" actionListener="#{demoInput.reset}">
 <af:resetListener type="action" />
</af:commandButton> 

The doc says "The listener will find the event's process root and traverse down through that subtree resetting input components. Some of the more common components that are defined as process roots includes: form, subform, region"
How to define which component's inputs should be reset.
Or some proper partial input resetting function in ADF.

This post has been answered by Timo Hahn on Oct 9 2020
Jump to Answer

Comments

Post Details