Category: 11g
-
Adding and Using Jar files in Oracle ADF Application/Project
In this project i will show how to add and use a Jar file of some other ADF Project in your ADF application. First create a Jar file which you want to use in your ADF application and then add them into your application by using following procedure. 1) In your Oracle ADF application go…
-
Displaying alternative values for specific attributes in Oracle ADF
Sometime we come across such type of requirement in Oracle ADF when we want to display some alternative value of attribute based on some condition. For example if we have a column in database that represents status of something, then instead of storing whole word like “Approve”, “Reject”, “Pending” etc we can just store “A”,…
-
Create Sequence in Oracle ADF
In this post i will show how we can create and use sequence in Oracle ADF by using Groovy expression. First create a sequence in your database then use the following code to implement it. (new oracle.jbo.server.SequenceImpl(“PURCHASEREQ_SEQ”,adf.object.getDBTransaction())).getSequenceNumber() here PURCHASEREQ_SEQ is my sequence name that I have created in Database. See the below snapshot for clarification.…
-
Delete Multiple records in Oracle ADF Table
In this post i am going to show how to delete multiple records in Oracle ADF table. You can select multiple records and then delete them in one transaction instead of doing one by one. 1) Create a new fusion application and create Employees entity object, then its view object. 2) Create an application module…
-
Oracle ADF Dynamic Region, Runtime content changing
In one of my projects, I have a requirement to change pages at run time when somebody click on a link .I have used ADF dynamic region to achieve this. Here i will show you how to implement dynamic region in Oracle ADF. 1) Create two entity objects named employees and departments and then their…
-
Increase LOV size in Oracle ADF JDeveloper
Some Time we need to increase the LOV (List of Values) Size in Oracle ADF form. So to Increase its size 1) Click On the LOV 2) Go To properties 3) Then go to “Content Style” Property 4) write “width:190px” in it and then save the Project. 5) Now the Size of LOV will Increase
-
Transient Attribute in Oracle ADF 11g
We Know That attributes in entity objects comes from underlying database tables. But some time we want an attribute for showing some results or multiplication or addition or something else for two attributes. But we have not any attribute in our database. So how we can perform this types of tasks. We can use a…
-
Merging Table Column in Oracle ADF
Some time we require to merge two or more column in Oracle ADF table under one heading. I am posting because I need this solution to Implement in my project. So after solving this problem I decide to Post this solution for Oracle ADF developer. Just Follow the following steps. Lets Suppose I want “delete”…