Tag Archives: Managed Bean

Creating a re-organizable list of Items using Drag and Drop in Oracle ADF

Sometimes the requirement is to create a list of UI Items which can be rearranged using Drag and Drop in Oracle ADF, similar to the one in jQuery. Oracle ADF Drag and Drop doesn’t provide the ability to identify, where … Continue reading

Posted in Oracle ADF | Tagged , , , , , , , | 1 Comment

ADFUtils Class: Best for Accessing Components in from the Managed Bean

import java.util.Iterator; import java.util.Map; import javax.el.ELContext; import javax.el.ExpressionFactory; import javax.el.MethodExpression; import javax.el.ValueExpression; import javax.faces.application.ViewHandler; import javax.faces.component.UIComponent; import javax.faces.component.UIViewRoot; import javax.faces.context.FacesContext; import oracle.adf.model.BindingContext; import oracle.adf.model.DataControlFrame; import oracle.adf.view.rich.context.AdfFacesContext; import org.apache.myfaces.trinidad.render.ExtendedRenderKitService; import org.apache.myfaces.trinidad.util.Service; public class ADFUtils { private ADFUtils() { } /** * … Continue reading

Posted in Oracle ADF | Tagged , , , | Leave a comment

How to show Popup programmatically in Oracle ADF

When trying to open a Popup on JSF/JSFF page programmatically through Managed Bean, use the following method and pass the ID of the popup to the method: ┬ápublic void openPopup(String popupId) { ExtendedRenderKitService erkService = Service.getService(FacesContext.getCurrentInstance().getRenderKit(), ExtendedRenderKitService.class); erkService.addScript(FacesContext.getCurrentInstance(), “var hints … Continue reading

Posted in Oracle ADF | Tagged , , , | Leave a comment