Wednesday, April 29, 2015

Default Activity - Method Call not being called when bounded taskflow opens for the 2nd time when backed on Browser back button ADF 12c - EBS integration

We can overcome by using dynamic regions which accepts Parameter* instead of region in the jspx page. Make sure you pass unique/different parameter to the dynamic region taskflow in order to get the method call(default activity) invoked on the taskflow re-entry

This issue occurred while navigating from EBS to an external ADF application using JDeveloper 12.1.3  

Reference; https://community.oracle.com/thread/3548970

Friday, April 17, 2015

Control Taskflow activation on a page using Conditional property ADF

http://andrejusb.blogspot.com/2013/09/conditional-task-flow-activation-in-adf.html

https://blogs.oracle.com/adf/entry/how_to_set_conditional_activation_to_taskflows

Friday, April 3, 2015

Remove/Delete all rows from View Object ADF



// This is a method is AMImpl

public void deleteAdminUser(BigDecimal userId, String code) {


        AdminUserDelVOImpl adminUserDelVO = this.getAdminUserDelVO1();
        adminUserDelVO.applyViewCriteria(null);
        adminUserDelVO.setApplyViewCriteriaName("AdminUserDelVOCriteria");
        adminUserDelVO.setBindCode(code);
        adminUserDelVO.setBindUserId(userId);
        adminUserDelVO.executeQuery();
        adminUserDelVO.setRangeSize(-1);
        Row[] rows = adminUserDelVO.getAllRowsInRange();
        for (Row row : rows) {
            row.remove();
        }
        this.getDBTransaction().commit();
    }

  • https://community.oracle.com/thread/1112374
  • http://tanveeroracle.blogspot.com/2011/12/remove-all-rows-from-viewobject.html

Thursday, April 2, 2015

no META-INF/application.xml and no modules could be found in it; ADF


  • Make sure you have war file created for the UI project 
  • Check the Deployment Profile of the ADF application to see if the UI project is selected (application properties ->Deployment->Deployment profile-> application assembly->select UIProject->check the assembly)