New Features of ZK 9.5.0"

From Documentation
Line 9: Line 9:
 
= Introduction =
 
= Introduction =
  
In ZK 9.5, we focus on '''User Experience''' and '''Developer Experience'''. Therefore,
+
In ZK 9.5, we focus on '''User Experience''' and '''Developer Experience'''. Therefore, we pay lots of effort to make components
  
 
== Download ==
 
== Download ==
Line 24: Line 24:
  
  
 +
=  accessibility =
 +
<!--
 +
[ZK-4598] - Enhance the accessibility of components by following WCAG 2.0
 +
[ZK-4630] - Implement a keyboard trap util for components in modal
 +
[ZK-4648] - Audio supports to add tracks
 +
[ZK-4649] - Video supports to add tracks
 +
-->
  
 +
= Components =
 +
<!--
 +
[ZK-4425] - Allow to drag button when MouseDown on any position in Rangeslider/Multislider
 +
[ZK-4544] - Radio/Checkbox provide a status class name for more easier theme customization
 +
[ZK-4497] - searchbox: improve clearing selection, key shortcut / clear icon
 +
[ZK-4551] - Support ref override for position of Popup/Tooltip/Context
 +
[ZK-4494] - Tree's DOM structure shall provide enough information to decorate lines with CSS
 +
-->
 +
 +
= Data Binding Syntax Sugar =
 +
ZK supports a simplified syntax with a built-in convention. You can type fewer characters without an annotation name.
 +
 +
 +
== Default ViewModel ID==
 +
Default ViewModel ID is <tt>vm</tt>
 +
 +
<source lang='xml'>
 +
<!-- original -->
 +
<div viewModel="@id('vm') @init('MyViewModel')" >
 +
<!-- new syntax -->
 +
<div viewModel="@('MyViewModel')">
 +
</source>
 +
 +
<!--
 +
[ZK-4552] - Simplify MVVM syntax
 +
[ZK-4508] - The value of @BindingParam can be omitted
 +
[ZK-4523] - Support a Bean creation from @BindingParams
 +
[ZK-4569] - MVVM support calling commands in other view model
 +
[ZK-4582] - Simplify BindUtils.postNotifyChange API
 +
[ZK-4501] - Add SimpleForm back for compatibility
 +
[ZK-4624] - Clients API support scrollIntoView and focus by using selector string
 +
-->
 +
 +
= Theme Customization =
 +
<!--
 +
[ZK-4560] - Theme customization improvement - avoid patch.less
 +
[ZK-3628] - support a way to create a customized theme based on built-in themes
 +
-->
 +
 +
= AJAX/WebSocket =
 +
[ZK-4175] - replace XHR with the fetch() API to allow SSO redirect handling
 +
[ZK-4451] - iOS 13 cause iPad to set "request desktop mode" for all website by default
 +
[ZK-4530] - Provide a "heart beat"/"ping pong" mechanism for websocket connections
 +
[ZK-4546] - Caching of EL method invocations
 +
[ZK-4562] - Introduce OWASP Dependency-Check
 +
 +
 +
<!--
 +
# Minor/internal
 +
[ZK-4657] - update bom versions
 +
[ZK-4564] - split zkau servlet into dedicated au and resource servlets
 +
[ZK-4618] - replace deprecated jquery functions (bind/unbind -> on/off)
 +
[ZK-4622] - Remove header border div in listbox/grid/tree
 +
[ZK-4653] - Provide a collection of constants for Keys and provide isPressed API
 +
 +
-->
  
 
{{Enhancements}}
 
{{Enhancements}}

Revision as of 09:29, 11 September 2020

New Features of ZK 9.5.0

Author
Hawk Chen, Engineer, Potix Corporation
Date
Sep. 22, 2020
Version
ZK 9.5.0


Introduction

In ZK 9.5, we focus on User Experience and Developer Experience. Therefore, we pay lots of effort to make components

Download







Highlighted Features


accessibility

Components

Data Binding Syntax Sugar

ZK supports a simplified syntax with a built-in convention. You can type fewer characters without an annotation name.


Default ViewModel ID

Default ViewModel ID is vm

<!-- original -->
<div viewModel="@id('vm') @init('MyViewModel')" >
<!-- new syntax -->
<div viewModel="@('MyViewModel')">


Theme Customization

AJAX/WebSocket

[ZK-4175] - replace XHR with the fetch() API to allow SSO redirect handling [ZK-4451] - iOS 13 cause iPad to set "request desktop mode" for all website by default [ZK-4530] - Provide a "heart beat"/"ping pong" mechanism for websocket connections [ZK-4546] - Caching of EL method invocations [ZK-4562] - Introduce OWASP Dependency-Check


Enhancements


Upgrade Notes



Comments



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.