Monthly Archives: March 2014

How to check whether ADF table row is modified or not.

Sometimes we need to know whether any row of ADF table is modified or not using managed bean. Here’s a quick solution to find whether ADF table rows are modified or not.   There is a method in oracle.jbo.Transaction class called isDirty()  used to find row is modified or not. view plaincopy to clipboardprint? BindingContext bindingctx=BindingContext.getCurrent();      BindingContainer binding=bindingctx.getCurrentBindingsEntry();      DCBindingContainer bindingsImpl = (DCBindingContainer) binding;      DCIteratorBinding dciter = bindingsImpl.findIteratorBinding(“<b>iterName</b>”);   ... Read More »

ADF Tricks

Some solution are too small to write blog or article, today I will explain some common code which are required while creating application using ADF technology. 1. Get View Object Instance in Managed Bean. BindingContext bindingctx=BindingContext.getCurrent(); BindingContainer binding=bindingctx.getCurrentBindingsEntry(); DCBindingContainer bindingsImpl = (DCBindingContainer) binding; DCIteratorBinding dciter = bindingsImpl.findIteratorBinding(IteratorName); ViewObject vo=dciter.getViewObject(); 2. Redirect Page. FacesContext.getCurrentInstance().getExternalContext().redirect(“url”); 3. Gets Session Object value using Groovy ... Read More »