Tag Archives: Adf validation

Validate field using Regular Expression

ADF support Regular Expression to validate user input. It’s very helpful to validate field like phone number, email id and reduce lots of java code. ADF framework provides some predefined expression, but you can write any custom expression according your need. In this post I will add validation rule on Email attribute of Employees table. Select Email Attribute in Employees ... Read More »

ADF: Validate attribute value based on other entity’s attribute (Using Accessor).

Sometimes we need to validate attribute based on other entity’s attribute. In this post I’m using HR schema, there are master detail relationship between Jobs and Employees table. So when you will create Entity objects using these tables, association will create automatically using foreign key relationship or you can create it yourself. As you can see in following image relationship ... Read More »

Validation in ADF Application (Using EntityImpl’s Method)

Today I’m going to start new series “Validation in ADF Application”. I’m using Jdeveloper 12c (12.2.1.3.0) for that. ADF offers validation in three different layers. • ADF View • Model • ADF Business Component First I’ll cover validation on business service layer. ADF offers many ways to enable validation in attribute level. For e.g. you can use groovy expression, java ... Read More »