-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
10.0.0-Beta
-
MeshElements where the rowRenderer/itemRenderer generates rows/items that contain any components where setStubonly(true) is set will lead to error message "Failed to mount: Unknown stub..." on client when trying to switch to the next page. The rows/items themselves are not stubs, but normal components.
MeshElements where the rowRenderer/itemRenderer generates rows/items that contain any components where setStubonly(true) is set will lead to error message "Failed to mount: Unknown stub..." on client when trying to switch to the next page. The rows/items themselves are not stubs, but normal components.
<?xml version="1.0" encoding="UTF-8"?>
<zk
xmlns="http://www.zkoss.org/2005/zul"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:js="http://www.zkoss.org/2005/zk/client"
xmlns:ca="http://www.zkoss.org/2005/zk/client/attribute"
xmlns:a="http://www.zkoss.org/2005/zk/annotation"
xmlns:n="http://www.zkoss.org/2005/zk/native">
<zscript>
<![CDATA[
items = new ArrayList();
for (int a=0;a<200;a++)
model = new ListModelList( items, true );
]]>
</zscript>
<grid mold="paging" autopaging="true" height="300px" model="${model}">
<template name="model" var="entry">
<row>
<label value="@load(entry)" stubonly="true"/>
</row>
</template>
</grid>
<listbox mold="paging" autopaging="true" height="300px" model="${model}">
<template name="model" var="entry">
<listitem>
<listcell>
<label value="@load(entry)" stubonly="true"/>
</listcell>
</listitem>
</template>
</listbox>
</zk>