Oracle ADF UIX Developer's Guide | ![]() Contents |
![]() Previous |
![]() Next |
This appendix describes changes to Oracle ADF UIX since JDeveloper 9.0.4. It includes the following sections:
There is now an alternative to the Oracle Browser Look And Feel(BLAF) called Minimal Look And Feel(MLAF). MLAF is designed to render simpler html and use a minimal number of images. For information on how to configure UIX to use the Minimal Look And Feel, see the Configuration for ADF UIX chapter. For information on how to customize the Minimal Look And Feel, please see the Customization of ADF UIX chapter.
ClientActions: The client action facility has been added. This allows users to generate events or submits in response to user actions on selected elements (Button, CheckBox, Choice, Link, RadioGroup, RadioSet, SingleSelection, and TextInput).
The HGrid is now PPR enabled. On platforms that support it, the HGrid will update through a partial update if partialTargets are specified. Currently, the update granularity is the entire HGrid.
Partial Page Rendering (PPR) is now on by default. You no longer have to set the Accessibility mode to "inaccessible" in order to enable it. To explicitly turn off PPR, you can set the Configuration.DISABLE_PARTIAL_RENDERING property to Boolean.TRUE. You can do this in the uix-config.xml file by setting <default-configuration> to include <disable-partial-rendering>true</disable-partial-rendering>.
<sortableHeader> is now supported.
<breadCrumbs> is now supported.
<messageBox> now supports the "message" attribute.
<messageLayout> - The messageLayout element behaves like <inlineMessage>, which is now deprecated. This bean lays out a prompt, indexed children, end child, tip, and inline message.
<radioSet> - The radioSet control creates a menu-style control, which allows the user to select a single value from a set of items.
<messageRadioSet> - The messageRadioSet control is a combination of the radioSet and messageLayout controls.
<colorField> - The ColorField control creates a text field for entering colors and a button for picking colors from a palette.
<colorPalette> - The ColorPalette control creates a palette for picking colors.
<colorPicker> - The ColorPicker is used to pick colors from a palette in a secondary window.
<messageColorField> - The messageColorField control is a combination of the colorField and messageLayout controls.
<color> - The color element defines a client validater for specific color formats.
<convert> - The convert bound value defines a binding that will perform a type conversion of its child. The type conversion depends on the value of the 'javaType' attribute, which must either be a full Java class name, or one of: string, char, boolean, byte, short, int, long, float, or double.
<null> - The null bound value defines a binding that will always return null. This is especially useful in templates for explicitly setting an attribute to null (instead of inheriting the attribute).
<truncate> - The truncate element truncates strings when necessary. The number of characters at which truncation begins taking place can be configured with the 'truncateAt' attribute, but strings shorter than 13 characters will never be truncated.
<page> - The page element defines a page. It may be used at the top of an included file to set the binding language.
<messageRadioSet> - The messageRadioSet element defines an interface to the UIX messageRadioSet component with a simplified data binding to a BC4J data provider. The selection is driven entirely by BC4J; the selection attributes of messageRadioSet itself are ignored.
<radioSet> - The radioSet element defines an interface to the UIX radioSet component with a simplified data binding to a BC4J data provider.
<compound> - The compound element provides a declarative way to combine a sequence of event handlers.
The "UIX Controller" is now known as the "UIX Servlet" in order to indicate that the servlet's role as a page flow engine is de-emphasized in deference to Struts. Other pieces of the ADF UIX servlet will continue to be recommended, as they have no equivalent in Struts: event handling, partial page utilities, etc.
There have been several changes in the BLAF ui specification. These changes have been made to tighten up the page, reduce whitespace and lower bandwidth usage. The most significant changes are to the globalHeader, sideBar, header, messageBox, contentContainer, button, and table control bar.
<body> now has an attribute 'initialFocusId', allowing initial focus to be set on components at page load time. This feature is only available in inaccessible mode.
<formattedText> now has a 'styleUsage' attribute which is intended to make it easier to put the correct style on the text. If "styleUsage" and "styleClass" attributes are both set, the "styleClass" attribute takes precedence.
<column>
<table>
document
, the index of the form in the current document
or the form itself. This method should be called to reset a form instead of document.form.reset(). Remember to use <importScript name="resetForm()"/> when calling this method.
The UIX BC4J and UIX Struts tags are now deprecated. They have been replaced by the new ADF Model and Struts support.
"Data:" data binding syntax is now deprecated. Use Expression Language syntax, as described above.
<radioGroup> - the radioGroup element is deprecated, use radioSet instead.
<messageRadioGroup> - the messageRadioGroup element is deprecated, use messageRadioSet instead.
<quickLinks> - the quickLinks element is deprecated.
<contentFooter> - the contentFooter element is deprecated.
<inlineMessage> - the inlineMessage element is deprecated, use the messageLayout element instead.
<table>
<spacer> - using indexed children is deprecated.
<hgrid> - the 'nameTransformed' attribute is deprecated. Use the 'nameTransformed' attribute of the column bean instead.
<sideNav> - use <sideBar> instead.
<pageLayout> - 'contentFooter' named child is deprecated, use the 'pageButtons' and 'returnNavigation' named children instead.
<table>
The prototypes for two methods on the RenderingContext
interface have changed. Both pushRenderedChild()
and
popRenderedChild()
now take an additional argument:
the current RenderingContext
. This API change was
necessary in order to allow RenderingContextProxy
subclasses to query attributes using the correct (current)
RenderingContext
during the render traversal.
Please note that this API change is not backward compatible, and
clients that override or call these methods will be required to
change their code to take the new RenderingContext
argument
into account. Although we normally strive to provide backward
compatibility across releases, in this case the lack of access to the
current ReneringContext
was significantly limiting
aspects of the UIX partial page rendering implementation.
Copyright © 2001, 2004, Oracle.
All rights reserved.