-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi terrytornado
i have error again when I use ZK 6 and SelectComposer ( I upgraded ZK version )
this is my listbox bind
<listbox sclass="employee-list" vflex="true" hflex="1"
model="@load(vm.contributorList)"
selectedItem="@bind(vm.selectedContributor)" >
<listhead>
<listheader label="Role" width="50px" align="left" ></listheader>
<listheader label="User Name" align="left" sort="auto(ASC)" ></listheader>
<listheader label="Description" align="left" ></listheader>
<listheader label="Email" align="left" ></listheader>
</listhead>
<template name="model" var="contributor">
<listitem>
<listcell label="@load(contributor.iRole)" ></listcell>
<listcell label="@load(contributor.sUserName)" ></listcell>
<listcell label="@load(contributor.sEmail)" ></listcell>
<listcell label="@load(contributor.sDescription)" ></listcell>
</listitem>
</template>
</listbox>
HTTP Status 500 - Component definition not found: template in [LanguageDefinition: xul/html], [SYS file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/BaseWeb/pages/user/test.zul line 75 col 45]
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: template in [LanguageDefinition: xul/html], [SYS file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/BaseWeb/pages/user/test.zul line 75 col 45]
Line 75 is: <template name="model" var="contributor">