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.

4.7. Customizing Using Generator Templates.............................................................................4-25<br />

4.7.1. Recommended Approach for Customizing <strong>JHeadstart</strong> Generator Output..................4-25<br />

4.7.2. Using Custom Templates............................................................................................4-26<br />

4.7.3. Finding Out Which Generator Templates Are Used ..................................................4-28<br />

4.7.4. Velocity and the Velocity Template Language ..........................................................4-28<br />

4.7.5. <strong>JHeadstart</strong> specific constructs in the Velocity Templates...........................................4-29<br />

4.7.6. The File Generator Template......................................................................................4-31<br />

4.7.7. Generating a JSF Navigation Rule from a Generator Template.................................4-33<br />

4.7.8. Generating a JSF ManagedBean from a Generator Template ....................................4-33<br />

4.8. Generating Mobile Applications...........................................................................................4-35<br />

4.8.1. <strong>JHeadstart</strong> properties for Mobile ................................................................................4-35<br />

4.8.2. New Application Definition Wizard...........................................................................4-36<br />

4.8.3. <strong>JHeadstart</strong> Application Generator ..............................................................................4-36<br />

4.8.4. Customizing View Types ...........................................................................................4-36<br />

4.8.5. Adding a View Type ..................................................................................................4-37<br />

4.9. What was Generated for What Purpose................................................................................4-38<br />

CHAPTER 5 GENERATING PAGE LAYOUTS ..............................................5-1<br />

5.1. Creating Form Pages...............................................................................................................5-2<br />

5.1.1. Hide Items on the Form Page .......................................................................................5-3<br />

5.1.2. Using Regions ..............................................................................................................5-3<br />

5.1.3. Create and Update Mode in Form Layout ....................................................................5-6<br />

5.2. Creating Select-Form Pages ...................................................................................................5-8<br />

5.3. Creating Table Pages ............................................................................................................5-10<br />

5.3.1. Hide Items in a Table..................................................................................................5-11<br />

5.3.2. Allowing the User to Sort Data in a Table Page.........................................................5-11<br />

5.3.3. Limiting the Number of Rows on a Table Page .........................................................5-12<br />

5.3.4. Adding Summary Information to a Table...................................................................5-12<br />

5.3.5. Change Table-Related ADF Business Components Settings .....................................5-13<br />

5.3.6. Using Table Overflow ................................................................................................5-15<br />

5.4. Creating Table-Form Pages ..................................................................................................5-18<br />

5.5. Creating Master-Detail Pages ...............................................................................................5-20<br />

5.5.1. Master-Detail on Separate Page .................................................................................5-21<br />

5.5.2. Master-Detail on Same Page ......................................................................................5-21<br />

5.6. Creating Tree Layouts ..........................................................................................................5-24<br />

5.6.1. Generating a Basic Tree .............................................................................................5-24<br />

5.6.2. Variation: Basic Tree with navigation-only nodes .....................................................5-29<br />

5.6.3. Variation: Recursive Tree...........................................................................................5-30<br />

5.6.4. Variation: Recursive Tree with Limited Set of Root Nodes.......................................5-32<br />

5.6.5. Variation: Tree showing only Children of selected Parent.........................................5-35<br />

5.7. Creating Shuttle Layouts ......................................................................................................5-38<br />

5.7.1. Creating Parent Shuttles .............................................................................................5-38<br />

5.7.2. Creating Intersection Shuttles.....................................................................................5-40<br />

5.7.3. Understanding How <strong>JHeadstart</strong> Runtime Implements Shuttles..................................5-43<br />

5.8. Creating Wizard Layouts......................................................................................................5-45<br />

<strong>JHeadstart</strong> Developer’s <strong>Guide</strong> Contents iii

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

Saved successfully!

Ooh no, something went wrong!