Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5720

Autopaging with stub widgets within rows/listitem leads to "Failed to mount: Unknown stub..."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.0-Beta
    • ZK Client Engine

      <?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++)

      {     items.add("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>

            Unassigned Unassigned
            chemFelix chemFelix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: