Forum Stats

  • 3,782,459 Users
  • 2,254,650 Discussions


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

AkilThar Member Posts: 38 Red Ribbon

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" />

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.

Best Answer