|
|
 |
Oracle ADF Faces - FAQ
1. Setup
1.1. Does ADF Faces depend on any particular implementation of JSF?
No. If there is an Oracle-specific implementation
of JSF, ADF Faces will be optimized to run best on that implementation,
but we believe it is important that ADF Faces run on any implementation
of the JSF 1.1 specification (or later). ADF Faces can be used
with either the Sun Reference Implementation 1.1_01 or MyFaces 1.0.8
(or later).
1.2. What runtime or design time tools can I use to run the demo WAR?
Please see the platform section on the
installation
page for information on how to deploy to JDeveloper, standalone OC4J, and Tomcat.
Although ADF Faces is "vanilla" JSF we have not been able to run with Java Studio Creator Build 04.06.2. We are working with Sun to resolve the issues in Java Studio Creator.
We have done some limited testing on IBM WebSphere Studio Application Developer 5.1.2. We have been able to run using .jsp, but not .jspx. If you are running the demo WAR please make sure the file names in faces-config.xml reflect any updated file names.
2. Architecture
2.2. Why would I use ADF Faces instead of standard Faces?
Good question. Here's a list of some of the advantages
Note:
The items in italics are either not yet available or only partially implemented
-
Provide more efficient implementations of client-side state saving (reduced per-component size)
-
Rich set of components, validators, and converters
-
ADF Faces tags often offer more features than the standard tags; for example,
all input components offer built-in label and message display support (
For more information on the differences between the ADF Faces tags and the
standard Faces tags, please see the
following
document
).
-
Client-side converters/validators - JavaScript enabled converters and validators that attempt to catch and display errors on the client
-
ADF Faces tags can be used inside of the
<
af:forEach
>
tag (it is, unfortunately, not possible to support standard tags inside
<
af:forEach
>
).
-
Accessibility - support similar to
ADF UIX Accessibility
-
Bidirectional language support - ADF Faces components automatically render themselves appropriately for bidirectional languages. Users can also use the "start" and "end" constants described in
ADF UIX Bidirectional Language Support
-
Partial Page Rendering (PPR) - support similar to
ADF UIX PPR overview
-
Skinning - support similar to
ADF UIX Look and Feel
-
ADF integration
- including support for JSR227 (Data binding)
-
Rich Client
- upcoming rich DHTML client-side renderers
2.3. What is the relationship between ADF Faces and ADF UIX?
ADF Faces is a significant evolution of the previous ADF UIX code. The
proprietary API (
UINode
,
RenderingContext
, etc.)
of ADF UIX has been replaced with the standard JSF API, and we've added
many features to our components that take advantage of the JSF architecture.
In making this change, we've also overhauled nearly all our component
names and attribute names to fit in closely with JSF naming conventions.
ADF UIX and ADF Faces can be installed in a single web application
without conflicts.
3. Development
3.6. My input field is just showing as plain text.
You may be missing the "setXyz()" function matching the
"getXyz()" function that is controlling your field's value, or
you might have mispelled its name. This makes that property
read-only. When ADF Faces detects that an input
field is using a read-only model property, it automatically
switches the field to read-only mode, which is why it looks
like plain text. For what it's worth, if you tried the same model
property with
<
h:inputText
>
, it'd look fine when you first render
the page, but JSF would throw an exception when you posted back
to the server and it couldn't write the new value into the model.
|
Copyright © 2003-2006, Oracle Corporation. All Rights Reserved.
|
|
|
|