Skip to main content

Posts

Showing posts from March, 2013

JSFUtils

This class will provide you the methods that are usefull in your whole ADF application package com.xyz; import java.util.Iterator; import java.util.Locale; import java.util.Map; import java.util.MissingResourceException; import java.util.ResourceBundle; import javax.el.ELContext; import javax.el.ExpressionFactory; import javax.el.MethodExpression; import javax.el.ValueExpression; import javax.faces.application.Application; import javax.faces.application.FacesMessage; import javax.faces.component.UIComponent; import javax.faces.component.UIViewRoot; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; import javax.servlet.http.HttpServletRequest; /**  * General useful static utilies for working with JSF.  * NOTE: Updated to use JSF 1.2 ExpressionFactory.  *  * @author Duncan Mills  * @author Steve Muench  *  * $Id: JSFUtils.java 1885 2007-06-26 00:47:41Z ralsmith $  */ p...

ADFUtils

package com.xyz; import java.util.ArrayList; import java.util.List; import javax.faces.model.SelectItem; import oracle.adf.model.BindingContext; import oracle.adf.model.binding.DCBindingContainer; import oracle.adf.model.binding.DCIteratorBinding; import oracle.adf.model.binding.DCParameter; import oracle.adf.share.logging.ADFLogger; import oracle.binding.AttributeBinding; import oracle.binding.BindingContainer; import oracle.binding.ControlBinding; import oracle.binding.OperationBinding; import oracle.jbo.ApplicationModule; import oracle.jbo.Key; import oracle.jbo.Row; import oracle.jbo.uicli.binding.JUCtrlValueBinding; /**  * A series of convenience functions for dealing with ADF Bindings.  * Note: Updated for JDeveloper 11  *  * @author Duncan Mills  * @author Steve Muench  *  * $Id: ADFUtils.java 2513 2007-09-20 20:39:13Z ralsmith $.  */ public class ADFUtils {     public static final A...