Saturday, February 21, 2009

JDev/ADF sample - Workaround for LOV on Primary Key Attribute

  • Workaround for LOV on Primary Key Attribute. There is a problem with LOV component, when it is defined on Primary Key attribute - registered Bug #8275169. Until problem will be fixed, workaround can be as following - to define second dummy transient attribute for Primary Key attribute and use it on the page. However, during commit - in doDML method on Entity to substitute real attribute value with value from transient attribute.
    Download - LOVPrimaryKey.zip
Spanish Summary:

Este artículo se describe un Tip para solucionar un bug que se produce cuando se utiliza una Lista de Valores (LOV) para recuperar un dato en un formulario.

No comments: