Sunday, November 20, 2011

JDev/ADF sample - Custom Exception Registration for ADF BC EO Attribute

  • Custom Exception Registration for ADF BC EO Attribute. Sometimes customers prefer to implement business logic validation completely in Java, without using ADF BC declarative/Groovy validation rules. Thats fine, we can code business logic validation in ADF and implement different custom validation methods on VO/EO level. How to report validation message from custom method on VO/EO level? We can throw JboException, but it shows up on UI as popup. When custom validation is implemented for specific attribute, we would like to attach validation message directly to the attribute itself. Steve Muench helped us this week with EO Attribute Exception registration, I would like to share solution with you.
    Download - AttributeExceptionRegistrationApp.zip

No comments: