ADF: Display Table as Paginated

A common requirement when building an application, is display tables as pagination. In this post I will show how to configure it. Download the sample application: By default, on a desktop device, tables render a scroll bar that allows the users to scroll through the rows of data. By default, on a tablet device, tables render a Show More link and a row counter at the bottom of the table. To display table as paginated, using ADF 12c (12.1.3), set the scrollPolicy attribute […] “ADF: Display Table as Paginated”

ADF: Using the Target Tag

When you have a form with a required field, along with a Submit button and a Cancel button, when the Cancel button is clicked, all fields in the form are processed. Because the input text field is required, it will fail validation. To avoid the validation, probably you will configure the Cancel button to be immediate, and when the user clicks the Cancel button, all validation is skipped, any entered data is not updated to the model, and the user navigates as expected. It works, but what will you […] “ADF: Using the Target Tag”

ADF: Using Save Point Restore Finalizer

In the previous blog post, we have created an explicit save point in Oracle ADF 12c (12.1.3), but this time I will use the Save Point Restore Finalizer to execute the removeSavePoint method after the task flow’s state has been restored. This way, everytime I restore a save point, it will be removed from database. To do this, I will use the application of this post: ADF: Using Save Points (Explicit). Download the sample application: ADFSavePointApp_v2. Open the dept-flow task flow. […] “ADF: Using Save Point Restore Finalizer”

ADF: Using Save Points (Explicit)

You can configure a task flow to capture the state of an ADF application at a particular instance creating what is called a Save Point. This allows you to save application state when, for example, you are creating a new department, and the application state can be restored at a later point. An explicit save point requires an end user action before a bounded or unbounded task flow creates a save point. For example, an end user clicks a button that invokes a method call activity that, in turn, creates […] “ADF: Using Save Points (Explicit)”

Expose ADF BC as RESTful Web Service

Expose an ADF BC as SOAP Web Service is very simple. All you have to do is enable your Application Module to support Service Interface. But, how can I expose this same Application Module as RESTful Web Service? In this post, you will learn how to expose ADF BC as RESTful Web Service using JDeveloper 12c (12.1.3). Download the sample application: Create an ADF Fusion Web Application, and call it as ADFRESTApp. Create the Business Components, using the Employees table. This […] “Expose ADF BC as RESTful Web Service”

Defining Cascading List of Values in ADF

When you have a field, and its value depends on the selection in another field, you may create a Cascading List of Values (LOV). A city field that depend on the selection in country field, is a good example of Cascading LOV. In this post, you will see how simple is, define a Cascading List of Values using ADF 12c. Download the sample application: First of all, we need to create a View Criteria to filter employees by department. In the Applications window, open the EmployeesView […] “Defining Cascading List of Values in ADF”

Using Database Sequence in ADF

In some databases, like MySQL, you have the auto-increment option to generate an unique number when you add a new row. This is useful to create an unique number to act as a primary key. In Oracle Database, you don’t have auto-increment, but you have Sequences. A Sequence is an object that is used to generate a number sequence. There are three approaches to call Sequences in ADF: Override the Entity Object Row Base Class, use Groovy expression or use a DBSequence + Trigger. In this post […] “Using Database Sequence in ADF”