How to refresh a component in Oracle ADF Programmatically
There are many scenarios when we have to refresh the UI Component or Values in any Component on the Page. We can achieve this functionality by using this code in the ADF Managed Bean.
Step 1-
We need to create binding of the component which is to be refreshed.
Step 2-
Add this method in the Button Action Listener or Value Change Listener along with the created Binding name of the component.
AdfFacesContext.getCurrentInstance().addPartialTarget(compBinding);
//here compBinding is the Binding of the component
Comments
Post a Comment