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!

Resetting a specific component using ResetUtils.reset(), causes an every field reset

AkilTharOct 10 2020

I have parent child relationship Client and Addresses.
In the UI, I have a af:panelFormLayout for Client inputs and <af:table id="t1"> for addresses. When I soft delete an address using a af:commandButton, a partial refresh happens without an issue.
But I wanted to do a partial reset to the address table when the Address deletion happens. So I defined a bean method and called it in the button.
public void ResetInputs(ActionEvent ae) {
oracle.adf.view.rich.util.ResetUtils.reset(getT1());
}
actionListener="#{testBeanScope.backing_clientEdit.ResetInputs}
But in runtime the function resets even the newly changed Client data inside the panelform.

This post has been answered by AkilThar on Oct 11 2020
Jump to Answer

Comments

Post Details