Friday, 5 February 2016

Refresh component programmatically in ADF

Requirement: I have an ADF component say an af:outputText. Now I want to refresh the af:outputText programmatically that is through code.

Solution: For solution of the above requirement follow the steps as shown below:

Step 1: Create the binding for the component we want to refresh as shown below:

<af:outputtext binding="#{pageFlowScope.MyBean.outputText}" id="ot1" value="outputText1">

Step 2: Now use the below code in the Java bean wherever we want to refresh the component.


Thus, the solution to our requirement.

In case you like the post please comment, share and like me on Facebook.

Thanks & Regards,
Susanto Paul