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.

2. Add Data Collections (also known as View Object instances or VO usages) for these<br />

View Objects to the Data Model of the Application Module. Add CountriesView as a<br />

child of RegionsView and LocationsView as a child of CountriesView. You might<br />

need some perseverance here: the user interface of the JDeveloper wizard is not that<br />

user-friendly. When adding a detail view, it is important to select the subview in the<br />

list of Available View Objects. The subviews are indented in the picture above within<br />

the red rectangles. Then select the intended parent Data Collection in the Data<br />

Model, and click the right arrow button. You should end up with something like this:<br />

3. For selecting nodes in the tree, you need an extra Data Collection for each type of<br />

tree node. It is recommended to create dedicated Data Collections for tree selection,<br />

for example RegionsViewTreeSelect, CountriesViewTreeSelect, and<br />

LocationsViewTreeSelect. These usages should be top-level usages in the Data<br />

Model, that is, they should not be a child of another Data Collection.<br />

4. Make sure the <strong>JHeadstart</strong> Application Definition has groups and detail groups for<br />

your tree. You can maintain your groups by hand, or you run the ‘New Application<br />

5 - 26 Generating Page Layouts <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!