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.

5.9. Changing the Overall Page Look and Feel ...........................................................................5-47<br />

5.9.1. Customizing the Application Logos ...........................................................................5-48<br />

5.9.2. Rearranging the Overall Page Layout Using Generator Templates............................5-49<br />

5.9.3. Creating Custom ADF Faces Regions and using them in Generator Templates ........5-50<br />

CHAPTER 6 GENERATING USER INTERFACE WIDGETS ............................ 6-1<br />

6.1. Specifying the Prompt ............................................................................................................6-2<br />

6.2. Default Display Value ............................................................................................................6-3<br />

6.2.1. Using EL expressions ...................................................................................................6-3<br />

6.3. Display Type...........................................................................................................................6-4<br />

6.4. Generating a Text Item ...........................................................................................................6-6<br />

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

6.4.2. Setting Maximum Length .............................................................................................6-7<br />

6.5. Generating a Dropdown List...................................................................................................6-8<br />

6.5.1. Static dropdown list based on a Static Domain ............................................................6-8<br />

6.5.2. Translation of static domains........................................................................................6-8<br />

6.5.3. Dynamic dropdown list based on a Dynamic Domain .................................................6-9<br />

6.6. Generating a Radio Group ....................................................................................................6-10<br />

6.6.1. Static radio group based on a domain.........................................................................6-10<br />

6.6.2. Translation of static domains......................................................................................6-10<br />

6.6.3. Dynamic radio group based on a Dynamic Domain...................................................6-10<br />

6.7. Generating a List of Values (LOV) ......................................................................................6-11<br />

6.7.1. Creating a (reusable) LOV group ...............................................................................6-11<br />

6.7.2. Linking a (reusable) LOV group to an item ...............................................................6-12<br />

6.7.3. Defining an LOV on a display item............................................................................6-12<br />

6.7.4. Use LOV for Validation .............................................................................................6-17<br />

6.7.5. Selecting multiple values in a List of Values..............................................................6-18<br />

6.7.6. Understanding How <strong>JHeadstart</strong> Runtime Implements List Of Values .......................6-19<br />

6.8. Generating a Date (time) Field .............................................................................................6-22<br />

6.8.1. Specifying display format for date and datetime field................................................6-22<br />

6.9. Generating a Checkbox.........................................................................................................6-23<br />

6.10. File Upload, File Download, Showing Image Files, and Playing Audio Files ...................6-24<br />

6.10.1. Combining File Display Options ..............................................................................6-25<br />

6.10.2. Showing Properties of Uploaded Files .....................................................................6-26<br />

6.10.3. Using <strong>JHeadstart</strong> File Up/Download on BLOB Columns ........................................6-27<br />

6.11. Generating a Graph.............................................................................................................6-29<br />

6.12. Conditionally Dependent Items ..........................................................................................6-32<br />

6.12.1. Using the Depends On property ...............................................................................6-32<br />

6.12.2. Cascading Lists.........................................................................................................6-34<br />

6.12.3. Row Specific Dropdown Lists in Table....................................................................6-35<br />

6.13. Custom Button that Calls a Custom Business Method .......................................................6-36<br />

6.13.1. Creating a Custom Method in the ADF BC Application Module.............................6-36<br />

6.13.2. Creating a Button that Calls the Method With a Fixed Percentage ..........................6-37<br />

iv Contents <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!