Friday 6 May 2016

LOV selection issue in ADF - Key Attribute

I have faced small issue in LOV selection today.

Whenever you select value in LOV, always first value was selected. Even If you input valid value and tab out , first value was getting selected.

Solution: In my case reason is straightforward.

 I have created view accessors to have LOV for a attribute.

The source VO has only one attribute and I have not marked it as "Key Attribute" check box.

So, always make sure VO has primary key or mark the attribute to avoid issues like above.

Hope it helps!

No comments:

Post a Comment