Communities
|
Social Applications
Networks
Support
|
|
C-Level Executives
Other Roles
|
|
Support
Education
Partner
Other Tasks
|
Developer Tools
Application Development Framework
An Oracle JDeveloper Best Practices Document
August, 2008
|
Best Practices |
Layout Best Practices |
|
Best Practices Revision |
1.0 |
|
Technologies |
JDeveloper, ADF, ADF Faces |
|
Keywords |
Layout |
|
Forum |
|
|
Publish date |
August 2008 |
A developer needs to be able to develop a Rich Client Interface and avoid basic layout issues that tend to be pervasive across screens and applications. There are a number of low-level layout issues within ADFv that:
In most cases, there’s a simple approach and best practice that will assist developers in avoiding these pitfalls.
This document discusses basics of page layout and provides guidance to avoid common browser pitfalls, a recommended process for creating layouts, and illustrates layout examples.
This Layout Best Practices document is not necessarily a pattern but instead, a laundry list of known layout issues that are encountered when developing a Rich Client Interface and, how to avoid these pitfalls in your application development.
Various ADF Components are described and demonstrated throughout this document including document, showDetailItem, decorativeBox, panelSplitter, panelStretchLayout, panelBorderLayout and so on. Not one component by itself but many are combined to achieve the desired layout for a screen and / or an application.
To save a great deal of development grief and enjoy reduced maintenance costs:
| Component |
Situation to Avoid |
|
* |
An inlineStyle with a "height" value with "%" units |
|
* |
An inlineStyle with "height", "top", and "bottom" values |
|
* |
An inlineStyle with "width", "left", and "right" values |
|
* |
An inlineStyle with a "position" value |
|
Child being stretched by a parent component |
An inlineStyle with "width" or "height" values |
* Note: Avoid when possible throughout.
Web UI Developer's Guide for Oracle ADF
Tag Documentation Related to the Artifacts
