0

JDev 11.1.1.5.0 I have two tables in the form, one read only A and one editable B. There is an attribute called terms in the table B and an attribute called limit in table A. I want to validate the key-in of terms in table B for which it should not be greater than the value of limit in table A.

4

1 回答 1

0

您可以在表 B 的 EntityObjectImpl 上创建自定义验证 在代码中执行以下步骤 1-创建表 A 的 EntityObjectImpl 的对象 2-获取表 A 中属性限制的值 3-比较两个属性的值并处理您的验证

于 2012-05-02T05:48:24.743 回答