Can't find javax.faces.context.FacesContext
Hi,
I have strange problem since morning. I am using Jdeveloper 10.1.3 ADF BC
I have been using the below code successfully. But today all of a sudden everything is pointing to the wrong import
// 1. Access the FacesContext
FacesContext fc = javax.faces.context.FacesContext.getCurrentInstance();
// 2. Create value binding for the #{data} EL expression
ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
// 3. Evaluate the value binding, casting the result to BindingContext
BindingContext bc = (BindingContext)vb.getValue(fc);
// 4. Find the data control by name from the binding context
DCDataControl dc = bc.findDataControl("AppModuleDataControl");
For eg: FacesContext instead of fetching from javax.faces.context is getting FacesContext from com.sun.Faces
DCIteratorBinding is going to oracle.jbo.uicli.binding.JUIteratorBinding instead of oracle.adf.model.binding even if i have imported it in the class. Should i start all over again.
Please Help.
Thanks in advance