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.

6.4. Generating a Text Item<br />

6.4.1. Define Item Display Width and Height<br />

The item display width and height can be set in two ways. The first option is dynamical.<br />

EL expressions are used to get the width and height from the underlying ADF Business<br />

Components. When these properties are not set on the Entity Object, the View Object is<br />

checked for these properties.<br />

By default, an item is displayed with height = 1 (line) and width = the data length of the<br />

underlying table column. When the length of the table column is unknown or larger than<br />

the value of the service level property Default Display Width, the value of this property<br />

is used.<br />

The second option is the static option. The Width and Height properties can be used to<br />

hardcode the values for width and height. So instead of using the EL expressions, use<br />

static numbers.<br />

6- 6 Generating User Interface Widgets <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!