Wednesday, May 30, 2012

JDev/ADF sample - ADF 11g R2 Model Layer Validation Functionality

  • ADF 11g R2 Model Layer Validation Functionality. There is new functionality available in ADF 11g R2 - ADF Model layer validation. In the most of the cases, we define validation in ADF directly inside ADF BC, on Entity objects. Depending on the use case, not all fields rendered on UI can be based on ADF BC attributes. We can define validations inside Page Definition for any attribute, but specifically it can be useful for transient attributes defined directly in Model layer and displayed on UI. This allows to minimize Java code to control business logic validation for transient fields defined in UI. In this post I will describe how to implement UI fields to capture values for ExecuteWithParams operation and apply Model validation for these fields.
    Download - ADFModelValidationApp.zip

No comments: