Revision history [back]

click to hide/show revision 1
initial version

answered 2013-01-15 09:54:37 +0800

zerocold gravatar image zerocold

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">

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More