-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have a listbox with live data. I used the BindingListModelList class as the model for this listbox.
When i click on an item in the list box i get the following error:
Cannot find associated CollectionItem=<Listcell z_ak_o1>, binding=[binder:org.zkoss.zkplus.databind.AnnotateDataBinder@5476a7, comp:<Listcell z_ak_o1>, attr:label, expr:album.albumName, load-when:null, save-when:null, load:true, save:false, converter:null], collectionComp=<Listitem @z_ak_r3_8>
It works perfectly with 3.0.7 but 3.5 gives me this error. I like 3.5 and would love to upgrade. But i cannot do so if this error persists.
Please help.
Thanks
Prashanth
I have the same problem since i moved from 3.0.5 to 3.5.1.
I use a macro component with a listbox inside it and i don't know how to change the variable name. When i use this component two o more times, i get now, with 3.5.1, this error.
Afte reading this post, my workaround has been to use slightly different zul pages for the same macro-component, changing only the variable name on the listbox. It works, but its an ugly solution. I tried to use el-expressions and pass the variable name as an argument to the macro with no luck, annotations seems to be read before el expressions get a chance to execute.
Any idea of how to acomplish a good macro, just like it was with 3.0.5?
Thanks.
msrednsi,
There is a feature request for this. Please follow it.
https://sourceforge.net/tracker/index.php?func=detail&aid=2075839&group_id=152762&atid=785194
Asked: 2008-09-11 17:56:47 +0800
Seen: 467 times
Last updated: Nov 01 '08