14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.7. Generating a List of Values (LOV)<br />

Use a list of values (LOV) when you have a lookup to a related table and the number of<br />

records in the related table is too big for a dropdown list or you want to provide search<br />

functionality on the lookup.<br />

An LOV is actually just a group as all other groups only it has the Use as List of Values?<br />

checked and the Layout Style set to table. This kind of group is called a LOV group.<br />

Furthermore an LOV is always attached to an item. This item gets a little lantern next to<br />

it in the web pages. This item is called the LOV item.<br />

Normally this LOV item (Target Item) is filled with a value from the LOV group (Source<br />

Item). The mapping of Source Item to Target Item is what we call a return value. An LOV<br />

can have several return values.<br />

Steps to create a list of values:<br />

6.7.1. Creating a (reusable) LOV group<br />

1. Create a (reusable) LOV group<br />

2. Link the LOV group to an item<br />

1. Create (or reuse) a base group that will contain the rows of the LOV (which will<br />

be used as LOV group). The creation of a base group is explained in Creating<br />

objects.<br />

2. Set the Layout Style (of the LOV group) to ‘table’.<br />

3. .Check the Use as List of Values? property.<br />

4. Specify at least one type of search for the LOV group: quick search or advanced<br />

search.<br />

5. Set the Display Type of the LOV item (which will have a LOV attached) to lov.<br />

<strong>JHeadstart</strong> Developer’s <strong>Guide</strong> Generating User Interface Widgets 6- 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!