Tuesday, July 12, 2016

SelectManyChoice issue






https://blogs.oracle.com/jdevotnharvest/entry/how_to_access_selected_rows

Tuesday, May 24, 2016

Difference between standard JARs and ADF library jars

An ADF library differs from standard JARs in that the ADF library includes additional metadata files and constructs required for ADF application development.

http://one-size-doesnt-fit-all.blogspot.ca/2010/11/using-ojdeploy-and-ant-for-creating-adf.html

Wednesday, April 20, 2016

ADF sql wrapping and setNestedSelectForFullSql



FAQ #12 - How to disable query "wrapping" for expert mode queries in ADF 11g

http://jdeveloperfaq.blogspot.ca/2010/02/faq-12-how-to-disable-query-wrapping.html

    @Override
    protected void create() {
        super.create();
        setNestedSelectForFullSql(false);

    }

Friday, January 22, 2016

ADF : Filter View Object Rows


http://mahmoudoracle.blogspot.ca/2012/08/adf-filter-rows.html

1- Filter ViewObject

     //Get ViewObjectImpl object  
     ViewObjectImpl vo = getDeptVO();  
       
     //Filter using specific attribute value  
     Row[] filteredRows = vo.getFilteredRows("AttributeName", "AttributeValue");  
   
     //Filter using RowQualifier Class  
     //Use RowQualifier if you have more than one condition in filtering rows  
     RowQualifier rowQualifier = new RowQualifier(vo);  
     rowQualifier.setWhereClause("AttributeName=AttributeValue");  
     filteredRows = vo.getFilteredRows(rowQualifier);  

2- Filter RowSetIterator

     //Get ViewObjectImpl object  
     ViewObjectImpl vo = getAllAdvisorView();  
          
     //Get RowSetIteratorImpl object  
     RowSetIterator rsIterator=vo.createRowSetIterator(null);  
       
     //Filter using specific attribute value  
     Row[] filteredRowsRSI = rsIterator.getFilteredRows("AttributeName", "AttributeValue");