ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Problem with new databind Zk 6

mgvv
23 Jan 2012 13:54:55 GMT
23 Jan 2012 13:54:55 GMT

Hi,

I'm using new databind in Zk6.
In my project i have the following error:

org.zkoss.zk.ui.UiException: Array of attribute values not allowed, [both, both]
	at org.zkoss.zkplus.databind.DataBinder.loadPropertyAnnotation(DataBinder.java:615)
	at org.zkoss.zkplus.databind.DataBinder.addBinding(DataBinder.java:274)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadComponentPropertyAnnotationByAnnotName(AnnotateDataBinder.java:425)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadComponentPropertyAnnotation(AnnotateDataBinder.java:413)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:404)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.loadAnnotations(AnnotateDataBinder.java:408)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.init(AnnotateDataBinder.java:399)
	at org.zkoss.zkplus.databind.AnnotateDataBinder.<init>(AnnotateDataBinder.java:303)
	at vipconnect.trade.controller.ContratosWindow.doAfterCompose(ContratosWindow.java:135)

Please help,

Thanks in advance,

Miguel Goncalves