ZKTMSimply Rich |
ZK 2.1.2 Release NoteHome |
Version 2.1.2
Released on October 3, 2006. [History]
Getting Simpler and Richer
Feature Updates
-
69 XUL and 82 HTML off-the-shelf components.
- Tabbox, grid, listbox, tree, menu, combobox, bandbox, datebox, chart, hbox, vbox, window, slider, paging, audio, image, timer, include, iframe...
- Drag-and-drop supported by all components, such that users can drag components and drop them to any other or particular set of components.
- Context menus and customizable tooltips supported by all components, such that a menu or any popup appears when user click, right-click or move the mouse over a component.
-
Customizable sorting of listbox, grid and children of any component
with 100% Java codes (
java.lang.Comparator
). - Auto-completion for combobox.
- Live data for listbox.
- All components are cloneable and serializable.
-
Validation and formatting for any input components, such as regular
expression and
$#,##0
. - 100% Java API of FCKeditor and Dojo components.
-
Event-driven, server-centric model
-
More than 20 events are supported:
onChange
,onChanging
,onScroll
,onSelect
,onShow
,onZIndex
... - All event listeners are handled in Java, either by compiled byte-codes or by BeanShell, up to application developers.
- All events are processed at the server. No JavaScript required.
- All events are synchronized. No racing condition to worry about.
-
More than 20 events are supported:
-
ZK User-interface Markup Language (ZUML).
- Rich user interface could be designed in ZUML as simple as authoring HTML pages.
- Powerful yet intuitive control flow by the
if
,unless
andforEach
attribute. - Scripting in Java (by BeanShell) and EL expressions.
- Hot changes and updates without restarting your Web applications.
-
Browser history management.
- Add states to browser's back button history. Then, users can bookmark and use the back and forward button to navigate different states of the same ZK desktop.
-
Simple yet boundless component model.
- Macro components. Developing a full-feature new component by using another ZUML pages.
- Inheritable customization. Developing a new component by extending existent components.
- Seamlessly and easily to encapsulate pure-client components as ZK components with 100% Java API.
- Customizing components with pre-compiled Java or by scripting in Java. The choice is yours.
-
Simple yet flexible threading model.
- Thread-safe component handling.
- True server-side Modal dialog.
- Suspend and resume event listeners freely.
-
100% Customizable User-Interface factory.
- Loading ZUML pages not only from Web contents but also any repository such as database.
- Customizing the features of sessions, desktops and pages.
What's New
- New Features:
1562214, 1563300, 1561398, 1450988, 1565483, 1565486, 1565288, 1569285.- French messages are supported. Thank Jerome Vergereau for his contribution.
- Support Spring Transaction Synchronization for ZK.
- Tomcat 4.1.x are supported. See How-tos.
- forEachBegin and forEachEnd are supported.
- Support Acegi SecurityContext for ZK.
- Bug fixes:
1548478, 1563327, 1563932, 1565463, 1563206, 1567464, 1567187, 1486556, 1568952, 1568393, 1568220, 1562239, 1567233.- Support JBoss Portal.
Upgrade Notes
-
The
org.zkoss.zk.ui.ext.PostCreate
class is renamed toorg.zkoss.zk.ui.ext.AfterCompose
, since it is less confusion (it is called before theonCreate
event executes) And, thepostCreate
method is renamed toafterCompose
. Note: macro components implement this interface, so useafterCompose
instead, if you want to create macro components manually. -
The format of the argument for Window's
setCtrlKeys
is changed. Refer to the Developer's Guide.