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.

Weblog Steve Muench: “Why do I get InvaliOwnerException”.<br />

http://radio.weblogs.com/0118231/stories/2003/01/17/whyDoIGetTheInvalidownerex<br />

ception.html<br />

3.2.5. Setting Entity Object Attribute Properties used by <strong>JHeadstart</strong><br />

A number of properties that you can set on the Entity Object attribute panel are carried<br />

forward by <strong>JHeadstart</strong> into the Application Definition file used to generate the<br />

application:<br />

• Mandatory: when this checkbox is checked, the item that is based on this<br />

attribute will be generated with an asterisk in front of the label, and a JavaScript<br />

alert will be displayed when you submit the page when the item is still empty.<br />

• Queryable: when checked, the item created for this attribute in the Application<br />

Definition will have the Show in Quick Search and Show in Advance Search<br />

checkboxes checked by default. Of course, you can uncheck these checkboxes<br />

later on.<br />

• Updateable: when set to “While New” the item will be generated as a read-only<br />

item when an existing row is displayed on the page. When set to “Never” the<br />

item will be read-only in the generated page.<br />

Note that Queryable and Updateable properties can also be defined at the view object<br />

(VO) level. An item that is queryable at EO level can be made non-queryable at VO level.<br />

An item that is updateable at the EO level can be made (partly) read-only at the VO level.<br />

The VO level settings take precedence when <strong>JHeadstart</strong> creates the Application<br />

Definition file.<br />

3.2.5.1. Specifying Entity Object Control Hints<br />

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

below.<br />

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

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

Saved successfully!

Ooh no, something went wrong!