New Features of ZK 5.0.8
From Documentation
Revision as of 03:11, 29 August 2011 by Tmillsclare (talk | contribs) (→Databinding composer instead of initiator)
Author
Timothy Clare, Technology Evangelist, Potix Corporation
Timothy Clare, Technology Evangelist, Potix Corporation
Date
August 31, 2011
August 31, 2011
Version
ZK 5.0.8
ZK 5.0.8
ZK 5.0.8 is a maintenance release focusing on fixing bugs and releasing new improved features for ZK components.
Databinding composer instead of initiator
With ZK 5.0.8 users can avoid having to set a page initializer for the annotated databinder by defining a dedicated Composer – AnnotateDataBindingComposer. The code of AnnotateDataBindingComposer.java is simple and easy to read and understand.
public class AnnotateDataBindingComposer implements Composer, java.io.Serializable {
protected AnnotateDataBinder _binder;
public void doAfterCompose(Component comp) throws Exception {
_binder = new AnnotateDataBinder(comp);
comp.setAttribute("binder",_binder);
_binder.loadAll();
}
}
For more information please take a look at the associated blog.
JasperReports now upgraded to JasperReports4
Local improvements for components
A method to prevent the use of zscript in a project
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |