-
FEATURED COMPONENTS
First time here? Check out the FAQ!
when i create micro component list value cannot bind.
**panelComposite.zul**
<listbox id="box" model="${arg.data}" >
<listhead sizable="true">
<listheader label="Texto"/>
</listhead>
<template name="model">
<listitem>
<!-- <listcell label="@load(each.text)"/> -->
<listcell >
</listcell>
</listitem>
</template>
</listbox>
I have created demo here
http://zkfiddle.org/sample/1m4p0cm/12-pass-values-to-composite-component-in-mvvm
Hi You need to move create template code into setter
public void setData(List<Objeto> data) {
this.data = data;
//render template
}
Change ${arg.data} to @load(arg.data)
Change ${arg.data} to @load(arg.data)
Asked: 2014-08-19 13:37:53 +0800
Seen: 85 times
Last updated: Jul 18 '22
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status