Tuesday, January 7, 2014

ADF Buisiness Logic groups

Business Logical groups consists of set of business logic units. Each business logic units has set of validations.Business logical groups encapsulates set of related control groups.

Double click on the entity object you want to define business logic group.From the general tab create a new business logical group
Right click on the entity object and create a business logic unit.
 Enter Logic business unit attribute values
Note the unit name should reflect the group discriminator value. That means the validation is only applied to the value "TestValidationUnit" of the attrMsg field.Double click on the logic unit. Select the attribute and click on override button 

Select an attribute and add validation rule to this attribute.
For the validation rule give an error message

See the validation rule is added
Run the BC tester and check the validation .Enter a value <10 for attId.



No comments:

Post a Comment