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.

3.3.4. Setting View Object Control Hints<br />

You can specify Control Hints for an attribute in a View Object. See the screenshot below.<br />

<strong>JHeadstart</strong> might use some of these properties in the same way as Control Hints<br />

specified for an Entity Object. See section Setting Entity Object Attribute Properties used<br />

by <strong>JHeadstart</strong> fore more information.<br />

3.3.5. Determining the Order of Displayed Rows<br />

In most situations you want to order the queried records. To accomplish this you must<br />

add an Order By clause to each View Object.<br />

Attention: In general, there is NO DEFAULT sort order you can rely on.<br />

1. Select the View Object, right mouse click, select Edit to open its<br />

Properties dialog.<br />

2. Go to the Query node and enter the Order By clause. You can press the Edit<br />

button to select available attributes. Often, the view is ordered by the Descriptor<br />

attribute. It may also be ordered by a lookup attribute.<br />

3. Be sure to use the 'Test' button to verify the query.<br />

3 - 18 Creating Business Components <strong>JHeadstart</strong> <strong>Developer's</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!