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.

In that case you must include all the attributes you want to display on the page to<br />

become a part of the view object on which you base your group in the Application<br />

Definition. So the CountryName attribute of the Countries View must be added to the<br />

LocationsView.<br />

Perform the following steps to accomplish this:<br />

1. Select the view object you want to modify, right mouse click, and select Edit<br />

<br />

2. Navigate to the Entity Objects node. You will notice that your base entity is at<br />

the right hand side as the selected entity. To be able to include lookup attributes<br />

you must select the lookup entity and move it from the Available list to the<br />

Selected list.<br />

3. Set a proper alias for the lookup entity and select the right association end<br />

(dropdown list just below the Selected Entities box).<br />

4. Navigate to the Attributes node. You will notice that all the attributes of the base<br />

entity take part of the selected list. Now, in the Available list, select those<br />

attributes from the lookup entity object you want to display in the view object,<br />

and move them to the Selected list.<br />

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

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

Saved successfully!

Ooh no, something went wrong!