ZK 5.0.1 release notes

Released on March 16, 2010.

ZK 5.0.1 is a maintenance release focusing on fixing some issues and introducing requested features. This release boasts 11 new features and 57 bug fixes including jQuery 1.4.2 integration and Jasperreport advancements.

The release of ZK 5.0.1 also brings with it JavaScript documentation (JS doc) which provides developers with a complete javadoc style reference for our client technology.

Here are a few highlighted features.

Integration with jQuery 1.4.2

ZK 5.0.1 has updated its core client library to jQuery 1.4.2 bringing all the performance benefits that come with it.

Jasperreports and Databases

Jasperreports now works with Hibernate reports and SQL connections offering more flexibility and ease of use for your data driven applications.

System-wide composer

It is now possible to specify a system-wide composer which can handle exceptions and catch events. For more information please click here.

Tab mold accordion now takes full advantage of vertical space

The Tab's mold accordion now takes advantage of vflex and can now expand to take up all available vertical space.

Getting Simpler and Richer

New Feature Highlight

  • Integration with jQuery 1.4.2
  • Jasperreport to work with Hibernate reports
  • Jasperreport to work with SQL connections
  • A system-wide composer to process all pages
  • Treerow shall allow context, tooltip and popup
  • Replace bookmark command and bookmark encoding
  • Include component shall have clearDynamicProperties method
  • Timeout popup translation and reload page
  • Delay the onChanging event for autocomplete comboboxes
  • Tab Mold accordion should be able to take all the space

  • If you would like to upgrade from an older version the upgrade notes are available here!

Feature Updates

  • 120+ off-the-shelf Ajax 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.
    • Load on demand with writing Java codes.
    • 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, CKeditor, and Timeline components.
  • Event-driven, server-centric model
    • Ajax requests, application notification, and server push are all managed as events
    • Event Queue shields developers from the complexity of Ajax and server push, such as multi-thread programming
    • All events are processed at the server. No hurdle to communicate between clients and servers.
    • 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 EL expressions and your favorite scripting languages, include but not limited to Java, JavaScript, Ruby and Groovy.
    • 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.
    • POJO components supporting interfaces and clustering. Easy to instantiate and manipulate directly with pure Java, or injected and managed by an AOP framework, such as Spring
    • Macro components. Develope full-featured new component by using other 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 classes, or by scripting in your favorite scripting languages, include but not limited to Java, JavaScript, Ruby and Groovy. 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 Tracker:
    • 2943477:ZK integrates JQuery 1.4.2
    • 2053421:Jasperreport to work with Hibernate reports
    • 2941466:Jasperreport can work with SQL Connection
    • 2943475:Way to customize progressbox position
    • 2965270:A system-wide composer to process all pages
    • 2942015:Treerow shall allow context, tooltip and popup
    • 2927147:Replace bookmark command and bookmark encoding
    • 2954280:Include component shall have clearDynamicProperties method
    • 2962487:Timeout popup translation and reload page
    • 2780660:Delay the onChanging event for autocomplete comboboxes
    • 2831389:Tab Mold accordion should be able to take all the space
  • Bugs fixed:
    • 2941343:The combobox's popup widens to the entire width(IE6 only)
    • 2941387:Listcell.setSpan(int) not work, again!
    • 2940707:Tree item is not removed on the client side
    • 2940739:Today value of the Datebox is incorrect when locale is TH
    • 2941554:Popups and Contraint Violation messages are not hidden (Tab)
    • 2941611:ZK5.0/Liferay portlet causes freeze in Internet Explorer 6.
    • 2941933:Right-click always select the first tree item
    • 2942150:combobox disabled="true" not work
    • 2943346:Label's maxlength property seems to have no effect
    • 2942242:DHtmlLayoutPortlet getTitle() hard coded
    • 2943174:Listbox with hflex and select-mold not aligned in FF
    • 2944355:ZK5.0 Combobox autodrop and autocomplete problem
    • 2943533:grid menupopup="auto" conflict with Messagebox.show()
    • 2945107:different style of menuitems between IE and FF after ZK 5.0.
    • 2945219:Function Key Handling in ZK 5 is not working
    • 2945761:ZK popup should be closed when click outside zk page(zhtml)
    • 2946333:The position of the spliter in borderlayout can't be changed
    • 2946917:Text are sent even not changed server-side validate required
    • 2946498:WVE on listbox don't dissapear when parent window is closed
    • 2947638:deferred zscript not evaluated against the right component
    • 2947627:zscript deferred attribute was broken
    • 2945998:Has BeanShell attribute, NPE when change to detached parent
    • 2947657:Listbox with HTML form doesn't work
    • 2937096:composer.param shall be clone and static wired
    • 2947988:_selItems is not defined when removing last item in a tree
    • 2948193:The center calls invalidate() has js error
    • 2948829:Tree can't open in ROD mode
    • 2949346:Removing multiple rows from a tree does not work
    • 2949559:Combobox/Datebox Button does not move when scrolling in IE6
    • 2950309:Set readonly datebox to disabled that still open calendar
    • 2950364:Menupopup in IE7 display wrong
    • 2950801:Adding vflex to hbox throws javascript error
    • 2951825:script inside vbox throws javascript error
    • 2951184:Click event does not propagate to tree opener
    • 2955382:BUG problem with combobox when timer is on the desktop
    • 2951277:Textbox with quotes in text is broken
    • 2956449:bandbox onCtrlKey event incomplete
    • 2949947:Timebox usability for keyboard users is broken
    • 2957015:grid detail can't auto shrink with bandpopup open
    • 2956421:The listitem can't be selected when add onClick on listcell
    • 2956457:Comboitem/groupbox miss placed after remove and adding
    • 2957773:Wrong day in datebox (when locale is TH)
    • 2958057:Include and setBoomark
    • 2959308:el is undefined when invoke popup#close in ROD mode
    • 2959024:Events.echoEvent data is not sent
    • 2898413:FF and DSP caching
    • 2959487:The button browse is not translated spanish on fileupload
    • 2948454:zscript not interpreted correctly if IdSpace owner changed
    • 2949287:Printing demo page from Webkit browsers prints blank page
    • 2961834:Combobox autocomplete fail if add/remove comboitem
    • 2849074:Add the autocomplete attribute in XSD for combobox component
    • 2965789:zDom is undefined in treecell
    • 2966241:Databinding + combobox errorly change selected comboitem
    • 2966200:Include's construct will not set the src
    • 2968752:Not possible to change menu image
    • 2970460:window onMaximize not modify height
    • 2961772:Redeploy memory leaks
    • 2970902:Whitespace-only comboitem has height 0
    • 2970695:Constraints on non-input fields spawns several error dialogs
    • 2970664:SimpleDateConstraint should not use static SimpleDateFormat
    • 2971730:ClientConstraint can't work with Datebox