ZK 2.2.1

Released on January 2, 2007.

Download Now

Getting Simpler and Richer

This release includes 13 bug fixes and 6 new features.

Feature Updates

  • 71 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.
    • Grids, listboxes and trees with sizable columns.
    • All components are cloneable and serializable.
    • Validation and formatting for any input components, such as regular expression and $#,##0.
    • 100% Java API of Google Maps, 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.
  • 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 and forEach attribute.
    • Scripting in Java (by BeanShell) and EL expressions.
    • Hot changes and updates without restarting your Web applications.
    • Annotations that allow a page to acess database with zero Java codes.
  • 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:
    1619271, 1619272, 1619530, 1616213, 1615651, 1626042.
    • Support filtering of controller side events for Acegi security.
    • Fileupload.get() returns null if no file was chosen.
    • hbox supports the valign property.
  • Bug fixes:
    1615959, 1616955, 1617664, 1617116, 1616783, 1619349, 1621425, 1619959, 1624086, 1624169, 1623918, 1625157, 1623918.

Upgrade Notes

  • The signature of the cleanup method of org.zkoss.zk.ui.util.ExecutionCleanup is changed. Developers have a chance to clean up exceptions.
  • The signature of the cleanup method of org.zkoss.zk.ui.event.EventThreadCleanup is changed. Developers have a chance to clean up exceptions.