Package oracle.adfinternal.view.faces.model.binding

Examples of oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding


        System.out.println("setFieldDomain("+fieldDef.name+","+fieldDef.domain+","+")");
        EntityAttributeDescriptor attr = (EntityAttributeDescriptor)criterion.getAttribute();
     
     
        BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();     
        FacesCtrlHierBinding treeData = (FacesCtrlHierBinding)bindings.getControlBinding(fieldDef.domain);
        if ( treeData == null) {
          throw new IllegalArgumentException("ADF tree binding is null: "+fieldDef.domain);
        }
     
        List<SelectItem> list = new ArrayList<SelectItem>();
        Row[] rows = treeData.getAllRowsInRange()
        for (Row row : rows) { 
          list.add(new SelectItem( row.getAttribute(fieldDef.domainKeyField), (String)row.getAttribute(fieldDef.domainValueFields)))
       

        System.out.println("showtype: "+fieldDef.showType.getShowType() + " is numeric: "+ attr.isNumericType());
View Full Code Here

TOP

Related Classes of oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.