Monday, September 10, 2012

JBO-27019 : AttrSetValException / The get method for attribute not found

When you are faced with errors of the like that's mentioned above, the issue most likely with incorrect deletion / modification of attributes by you in either the EOImpl.java or VORowImpl.java files.

The best way to get around these errors is to undo all changes and start from scratch. Review each step that you do carefully and repeat each step one by one.

Many a time, if the IDE does not co-operate in declaratively deleting attributes / Accessor attributes / View Accessors, etc and you end up doing it manually, you could be faced with such errors.


Sunday, September 2, 2012

Trouble retrieving a saved ADF component value on UI?

Problem Description :

When you are working with ADF UI components like inputComboBoxListOfValues or other forms of LOVs which are bound to an LOV on the model layer and you face an issue when the value saved for an LOV does not display on the UI inspite of being saved in the DB?


Solution :

The issue most probably is to do with the groovy expression in the getter for this attribute in the model layer.
Once the correct groovy is fed in the model level getter, the attribute value is sure to display correctly on the UI.