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.13.3. Generating the Button that Calls the Method ...........................................................6-38<br />

6.13.4. Creating a Button that Calls the Method With Percentage From Input Field...........6-41<br />

6.13.5. Generating the Input Field and Button that Calls the Method..................................6-42<br />

6.14. Hyperlink to Navigate Context-Sensitive to Another Page (Deep Linking) ......................6-45<br />

6.15. Embedding <strong>Oracle</strong> Forms in JSF Pages..............................................................................6-49<br />

CHAPTER 7 GENERATING QUERY BEHAVIORS ........................................7-1<br />

7.1. Configuring the Query............................................................................................................7-2<br />

7.1.1. Specifying Auto Query.................................................................................................7-2<br />

7.1.2. Using Query Bind Parameters ......................................................................................7-2<br />

7.1.3. <strong>JHeadstart</strong> Runtime Implementation of Query Bind Parameters..................................7-5<br />

7.2. Creating a Search Region .......................................................................................................7-8<br />

7.2.2. Using Quick Search......................................................................................................7-8<br />

7.2.3. Using Advanced Search ...............................................................................................7-9<br />

7.2.4. Using a Query Operator................................................................................................7-9<br />

7.2.5. Using Query Bind Variables in Quick or Advanced Search ......................................7-10<br />

7.2.6. Runtime Implementation of Quick Search and Advanced Search..............................7-12<br />

7.3. Forcing a Requery ................................................................................................................7-15<br />

7.3.1. Implementation of Requery ........................................................................................7-15<br />

CHAPTER 8 GENERATING TRANSACTIONAL BEHAVIORS ..........................8-1<br />

8.1. Enabling Insert........................................................................................................................8-2<br />

8.1.1. Allowing Inserting Data in a Form Page ......................................................................8-2<br />

8.1.2. Building Insert Only Form Pages .................................................................................8-2<br />

8.1.3. Allowing the User to Insert Data in a Table Page ........................................................8-3<br />

8.2. Enabling Update .....................................................................................................................8-4<br />

8.3. Enabling Delete ......................................................................................................................8-5<br />

8.4. Conditionally Enabling Insert, Update an Delete ...................................................................8-6<br />

8.5. Runtime Implementation of Transactional Behaviors ............................................................8-7<br />

8.5.1. Multi-Row Insert and Delete ........................................................................................8-7<br />

8.5.2. Single-Row Insert.........................................................................................................8-8<br />

8.5.3. Single-Row Delete........................................................................................................8-8<br />

8.5.4. Commit Handling .........................................................................................................8-9<br />

8.5.5. Rollback Handling......................................................................................................8-10<br />

CHAPTER 9 CREATING MENU STRUCTURES ............................................9-1<br />

9.1. Static Menu Structure .............................................................................................................9-2<br />

9.1.1. Which Menu Tab is Selected?......................................................................................9-2<br />

9.1.2. Preventing Generation of a Menu Tab .........................................................................9-3<br />

9.1.3. Customizing the Static Menu Structure........................................................................9-3<br />

9.2. Dynamic Menu Structure........................................................................................................9-6<br />

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

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

Saved successfully!

Ooh no, something went wrong!