Professional Documents
Culture Documents
Survey Agenda
• ADF Faces?
– 10g • The strategy White paper
– 11g includes hands-
• The palette on practices.
– Trinidad
• IDEs?
– Developer Forms/Reports
• The tips and techniques
– JDeveloper Slides and white paper are on
– Eclipse the quovera.com websites.
White paper will be in the
– NetBeans NYOUG journal and slides will
be on the NYOUG website.
– Other
3 4
The Problem Strategy Principles
Sixteen million colors • Design the page using layout
in your palette components
are hard for any artist, • Use facets in the layout
especially a beginner, components
to turn down.
• Set properties for behavior
—Buffy Sainte-Marie
(1941-)
5 6
7 8
Know Thy Properties Agenda
• Properties modify the behavior
drastically • The strategy
• Example, af:spacer
– Height=100
• The palette
– Width= 100
• Don’t forget the
• The tips and techniques
Style properties
for layout
components
9 10
11 12
More Layout Components Panel Form Layout
• af:popup
– Drop in an af:dialog or af:window
– Drop af:showPopupBehavior into an action item
(button or menu choice)
• Lay out fields in rows and columns
• af:menuBar
– Perfect for most input forms
– Panel Menu Bar
– Creates menu area, drop in af:menu • Right justifies prompts
then af:menuItem • Left justifies fields
• af:panelLabelAndMessage
– Provides a prompt for a group of
• Tab order is down the first column,
objects then across to the second column
– FirstName and LastName fields with – Not necessarily intuitive
a prompt of “Name” – Workaround discussed later
– Use inside af:panelFormLayout
13 Demo 1 14
15 16
Important Property Setting Modifying the Visual Aspects
• styleClass=AFStretchWidth • Skins
– Use this so container – First and foremost – get this right
components (like af:table) fill • Properties - secondary
their width before AFStretchWidth
– ContentStyle
after
• Do not use width=100% • For data inside
the component
– Not as portable (foreground)
– InlineStyle
• Set from tab area
below it
• Or just type it in
• Last resort, though
Demo 2 17 18
21 Demo 3 22
Demo 4 27 28
Popup Window Example Tip: Use the Structure Window
• Add an af:popup • Drop on top of container into which you
– Anywhere in the form want the component to appear
– The visual editor will change to show just • Much more accurate
that window
– Click in another node to switch out of that • Other options
window editor – Click the component
• Add an af:panelWindow after selecting the
– Add contents to the window Structure window
node
• Drop an af:showPopupBehavior
onto a button or link – Use the bread
crumbs in the editor
29 30
Sandbox
Rich Client
35 36
ADF Faces RC Website Useful Oracle Blogs
• http://www.oracle.com/technetwork/developer
• Martin Deh
-tools/adf/overview/index-092391.html – martindeh.blogspot.com
– “ADF Layout Overview and Best Practices”
• The Web UI Developer’s Guide for Oracle
ADF • Steve Muench
– blogs.oracle.com/smuenchadf
• Tutorials • Frank Nimphius
• Demos – thepeninsulasedge.com/frank_nimphius/
• Cheat sheets • Shay Schmeltzer
– blogs.oracle.com/shay
• ADF Tips
– www.adftips.com
37 38
39 40
Summary Designer
Handbook
Developer
Advanced
Forms &
Reports
JDeveloper 3
Handbook
www.quovera.com for files
Books co-authored with Dr. Paul
Dorsey, Avrom Roy-Faderman, &
• The “secret” strategy: Duncan Mills
41 42