October 29, 2015

How to refresh a binding iterator through program

I have a data control created for a java class and using this I have created a table on a jspx page. On click of a button, I am doing some data changes in the bean and want to reflect them on the screen. Generally, we give partialTrigger to the table on the button which is alone not suffecient to update the content of the table on the page. The binding iterator has to be refreshed from the bean.

Below code snippet helps to refresh a binding iterator programmatically from ADF where "listRequestsIterator" is my binding iterator name on the page.          
   
BindingContext bctx = BindingContext.getCurrent();
BindingContainer bindings = bctx.getCurrentBindingsEntry();
DCIteratorBinding iter = (DCIteratorBinding)
bindings.get("listRequestsIterator");
iter.clearForRecreate();

4 comments:

  1. Thanks for sharing this great information on Oracle ADF. Actually I was looking for the same information on internet for Oracle ADF Interview Questions and Answers and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about Fusion financial by attending Oracle ADF Training.

    ReplyDelete
  2. Free reimage repair 1.9.5.6 liscence key free download software at UpdateStar - Reimage repair:How It Works...With surgical precision, Reimage Crack

    ReplyDelete
  3. Windows 7 Ultimate Crack Free Download giving you the solution for activation. It is a perfect operating system. It does not need high system specifications. Windows 7 Ultimate Product Key

    ReplyDelete