Yearly Archives: 2015

Custom Error Message for Business Component

In my previous post, I had explained how to Display Custom error message to user to extend DCErrorHandlerImpl and register to Databinding.cpx file. Well, there’s another way to do the same. Follow these steps… Rigth Click on Model Project and select project properties Then select “Option” under Business Component To add custom message bundle class for your project, click New and ... Read More »

Defining validation in the ADF View Layer

ADF framework provides ADF Faces validation to add validation rules to an ADF Faces component. A “validator” attribute is used to create business specific validation rule. Validator uses el expression to bind method in a managed bean. In this Example, I will explain how to build your own custom validation logic. This example is based on HR schema Employees table ... Read More »

ORA-02292: Integrity Constraint

    Sometimes user need to change foreign key attribute value in ADF table’s master detail relationship. If you try to change master table’s foreign key value, you’ll  get the following integrity constraint error message. ORA-02292: integrity constraint (JAGRANDB.SYS_C00162401) violated – child record found   Download Sample Code   To resolve this issue, if user want to change a foreign ... Read More »