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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Definition’ wizard. Anyway, you should have something like this:<br />

5. For the Regions group and all detail groups below it, change the Layout Style<br />

property to 'tree-form'. The layout style 'tree' will be discussed in one of the next<br />

sections.<br />

6. For each of the tree groups, we need to specify two Data Collections:<br />

The Data Collection property specifies the usage for selecting a tree node and<br />

viewing / maintaining the data in a form layout. This should be a separate TreeSelect<br />

Data Collection at top level in the Application Module, or nested below the same<br />

Data Collection as the tree top-level group is nested below (if any).<br />

The Tree Data Collection property specifies the usage for showing the hierarchical<br />

structure of the tree, and needs to be a child usage of the direct parent group's Tree<br />

Data Collection. If there is no parent group, the Tree Data Collection must be a toplevel<br />

Data Collection in the Application Module.<br />

If you originally created the groups using the New Application Definition Wizard,<br />

change the Tree Data Collection to be the same as the generated Data Collection<br />

property, and then change the Data Collection property to the TreeSelect usage of<br />

that view (for example RegionsViewTreeSelect, CountriesViewTreeSelect, etc) in all<br />

tree detail groups. Only in the tree top-level group, the Data Collection and Tree<br />

Data Collection can have the same value. When you want to use Quick Search or<br />

Advanced Search on the tree top-level group, the two properties must have the same<br />

value.<br />

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

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

Saved successfully!

Ooh no, something went wrong!