Just wanted to follow-up Lisa's announcement of fix pack 18.104.22.168
with a summary of the changes to Rich UI (RUI). Of course, you can
find all the details in the Rational Business Developer v8 Information
The Rich UI editor features a handful of usability and productivity
GridLayout was introduced
in 8.0.1 as the default layout because of its versatility and the
ease with which complex layouts can be created – particularly for
forms. This fix pack makes GridLayout even easier to use by adding
the ability to add or delete rows or columns within the Visual
Editor. Your user interfaces are now much easier to create and
maintain as your application evolves.
Deleting widgets within
the Visual Editor now does a much better job of cleaning up the
source code to reflect the deletion. Deleting a widget from either Design or Outline views removes
the widget's declaration as well as generated references to the
widget including in layouts, controllers, and formFields. However,
any custom code that references the widget will result in compile
errors that will need to be cleaned up.
Visually edit custom RUI Widgets
using the same Visual Editor you're already using to graphically
compose RUIHandlers in your Rich UIs. Your widgets can be realized
faster using the Visual Editor, which in turn will help foster reuse
to the extent you break your interface up into custom widgets.
Before I mention the improvements to MVC and validation, note that
these changes use new versions of the RUI widget project
(com.ibm.egl.rui_3.0.0) and the Dojo widgets project
(com.ibm.egl.rui.dojo.widgets_1.1.0); these are now the default
packages for new RUI projects.
Text Widget enhancements
allow you to specify prompts and and error messages for Dojo widgets
with validation support. The Dojo text widgets have been extended
significantly; DojoTextArea and DojoTextField join the already
existing DateTextBox, TimeTextBox, and CurrencyTextBox.
Validation support means
you can now specify view-level logic for ensuring your users input is
what your application expects. RBD provides a set of validators
covering things such as email addresses, and you can easily implement
At design time, you can specify constraints, validation logic, and associated messages and prompts.
In the resulting UI, note that the userName field shows an error since it has inputRequired property set to true and there's a prompt message for birthDate.
Custom widgets can now participate in Model-View-Controller
(MVC) using the @MVCView
annotation. With @MVCView, your custom widgets can serve as a
controller view by fulfilling certain responsibilities, which briefly
speaking, include getting or setting the widgets contents as text, as
well as determining when the widget's contents are valid.
Getting Started with
Simply surf over to the Release
Information for all the details, including all the other changes
in addition to the RUI changes I've highlighted here.
These changes build on all the many RUI enhancements added in RBD
Version 8, so you might want to review or even acquaint yourself with
Version 8 by checking out the developerWorks article on “What's
new in IBM Rational Business Developer Version 8”.