Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.zkoss.zkplus.databind;
 
It's another way to replace the <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?> in zul And initiate annotate data binding by apply this composer. A component can apply many composers, remember to apply this composer at the last. For example: <window apply="xxx.MyComposer,org.zkoss.zkplus.databind.AnnotateDataBindingComposer">

Deprecated:
As of release 7.0.0, replace with new ZK binding.
public class AnnotateDataBindingComposer implements Composerjava.io.Serializable {
	private static final long serialVersionUID = -1572346127326530607L;
	public void doAfterCompose(Component compthrows Exception {
		 = new AnnotateDataBinder(comp);
		comp.setAttribute("binder",);
	}
New to GrepCode? Check out our FAQ X