In a nested listbox, as in the following example, data binding doesn't seems not to work. The problem happens only if using a model.
In the following example I expect a value in the footer of the nested list, but is bull.
A label outside the nested listbox report the correct value.
<?xml version="1.0" encoding="UTF-8"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
<window title="My First Window" border="normal" width="200px">
<zscript>
Vector a = new Vector();
Vector aa = new Vector();
aa.add("AA");
aa.add("AB");
Vector ba = new Vector();
ba.add("AA");
ba.add("AB");
a.add(aa);
a.add(ba);
</zscript>
<listbox model="@{a}">
<listitem self="@{each=r}" value="@{r}">
<listcell label="@{r}"/>
<listcell>
<listbox model="@{r}">
<listitem self="@{each=rr}" value="@{rr}" label="@{rr}"/>
<listfoot>
<listfooter label="@{r}"/>
</listfoot>
</listbox>
</listcell>
</listitem>
<listfoot>
<listfooter label="A"/>
<listfooter label="@{a}"/>
</listfoot>
</listbox>
</window>
Fixed since Feb. 22, 2011.(ZK5 also fixed)