Posts

Showing posts from April, 2020

Multi Select LOV Feature in ADF and performing search criteria through List Binding

Image
ADF allows you to create a Multi-select LOV component,  this holds one of the advantages over the OAF technology stack where the Multiselect LOV feature is not available.  In this tutorial, we will learn how to create Multiselect LOV values, and upon selection of values, how to pass it in search criteria to get relevant records.  To Implement the List Binding criteria page, First Application needs to be created and after that create Business Components like View Objects, Application module  The sample application which created for the demonstration of Listbinding contains two view objects  1. Business Unit View object  which will display a  multi-select list of values  2. Employee Info View Object is created to filter out the records based on the LOV selection.  Here we are not creating view criteria, instead, we will use Dynamic where clause in AMIMPL java class.  Queries used for view objects are  SELECT * FROM XXC.XX_BUSINESS_UNITS SELECT * FROM XXC.X

Custom Search Criteria ADF Page through List Binding

Image
This article will emphasize List Bindings and how using List Bindings we can set the search criteria in ADF Application.  To Implement the List Binding criteria page, First Application needs to be created and after that create Business Components like View Objects, Application module  The sample application which created for the demonstration of Listbinding contains two view objects  1. Business Unit View object  which will display a list of values  2. Employee Info View Object is created with View criteria and binding parameter to         display the data based on the LOV selection  Queries used for view objects are  SELECT * FROM XXC.XX_BUSINESS_UNITS SELECT * FROM XXC.XX_EMPLOYEE_INFO Once View criteria are created, then add below code in AMIMPL java code   public void SearchCriteria(int BuId)     {         ViewObjectImpl vo= this.getXxEmployeeInfoView1();         ViewCriteria vc =vo.getViewCriteria("XxEmployeeInfoViewCriteria"); // crit

Generate Log file through Java Programming Language

Image
In any technology platform, generating Log file is very important from the application perspective. If any issues encountered in an application then the developers or application users look at the logger file, to understand the root cause for the issue, and this plays a vital role in expediting the entire resolution process.  As we have discussed the importance of the Log file, now we will see how to generate log through Java Programming language.  For the generation of Log Java has provided a Logger class, Below mentioned java class needs to be imported in your project to generate log file  import java.util.logging.Logger; /*Java code to generate Log file*/ import java.io.IOException; import java.util.logging.FileHandler; import java.util.logging.Logger; import java.util.logging.SimpleFormatter; public class LogFileInJava {     public LogFileInJava() {     }     public static void main(String[] args) {         LogFileInJava logFileInJava = new LogFileInJava();  

ADF Tutorial List by Pranay Tiwari

Tutorial # ADF Application Author 1 Create a Hello Page in ADF Pranay Tiwari 2 Cascaded List of Values in ADF Pranay Tiwari 3  Display Selected List of Values in ADF Pranay Tiwari 4  Creation of Data Entry Page in ADF Pranay Tiwari 5 Display Popup Message in ADF Pranay Tiwari 6 Custom Search Page through Operator Binding Pranay Tiwari 7 Creating Data Entry Page through Operations Bindings in ADF Pranay Tiwari 8 Custom Search Criteria ADF Page through List Binding Pranay Tiwari 9 Multi-Select LOV feature in ADF & performing search criteria through List Binding Pranay Tiwari 10 Display Current row in ADF Pranay Tiwari 11 Select  and Display Multiple rows through Checkbox in ADF  Pranay Tiwari 13 14 15 16