Working with view objects

We learned the basic lessons on view objects and their declarative configuration options in the last section. In fact, a view object offers a lot more. In the coming sections, we will explore the common utility services offered by a view object and common usage patterns along with a lot of code samples.

List of values

The list of values (LOV) component will allow a business user to select a value for a field on UI from a pre-populated list. Enabling LOV for a view object attribute is easy and straightforward.

Configuring the list of values

To define the LOV, decide the list datasource first. For example, in a classic Department-Employee example, if you want to display the departments' list for the department attribute in ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.