New Features of ZK 6.5.2"

From Documentation
Line 37: Line 37:
 
</source>
 
</source>
  
Please do not enable it in the production environment otherwise it will reduce performance.
+
Please do not enable it in the production environment otherwise it will reduce performance. For more information please refer to the [[ZK_Developer%27s_Reference/MVVM/Configuration#Print_ZK_Bind_Debugging_Information | developer's reference]].
  
 
=Themeing=
 
=Themeing=

Revision as of 06:52, 22 March 2013

DocumentationSmall Talks2013MarchNew Features of ZK 6.5.2
New Features of ZK 6.5.2

Author
Timothy Clare, Potix Corporation
Date
March 26, 2013
Version
ZK 6.5.2


Introduction

ZK 6.5.2 concentrates on fixing bugs and introducing a few new features and community improvements such as the moving of functionality to ZK Bind to ZK CE and theme improvements.

ZK 6.5 series focuses on taking developers to achieve real device transparency in one codebase and component set, exploring the area of combined desktop & tablet UI and touch experiences. Introducing responsive design and responsive components to always fit your device screen resolution and tablet-specific user interaction methods such as swiping and device orientation detection which are done automatically to save developers time, effort and to increase massive productivity.

Moving MVVM (ZK Bind) functionality to our community edition

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ce-pe-ee.png

ZK 6.5.2 brings improvements for our community edition as some features have been moved from PE and EE to CE. The biggest of these changes is the implicit event object which supports in command binding expression, for example:

<treeitem ... onDrop="@command('move',target=event.dragged.value,parent=event.target.value)">
   ..
</treeitem>

Previously you could not use this functionality in ZK CE.

Debugging MVVM (ZK Bind)

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ce-pe-ee.png

In ZK 6.5.2 it is now possible to more effectively debug MVVM, thus enabling developers to resolve problems quicker and more effectively. To turn on ZK Bind debugging all that is needed is to edit the zk.xml file adding the following:

<library-property>
    <name>org.zkoss.bind.DebuggerFactory.enable</name>
    <value>true</value>
</library-property>

Please do not enable it in the production environment otherwise it will reduce performance. For more information please refer to the developer's reference.

Themeing

ZK 6.5.2 has introduced quite a few theme improvements for the benefit of our developers.

Folder based theme

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ce-pe-ee.png

With the introduction of ZK 6.5.2 it is now possible to use a theme from a folder significantly simplifying the task of developers and designers alike. The following gives a top level view of a folder structure.

Theme skeleton.png

Not only that as creating a structure for the theme manually can be tedious and error-prone the ZK developers have written a tool to do this. The tool can be found here.

Ztx session.png

For more information please visit the following Small Talk.

Download & other resources


Comments



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