Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>ok as i promise,the thing only i have to do is implements ListitemRenderer,and add the code like this to method render:</p> <pre><code>public void render(Listitem li, Object data) throws Exception { Object[] obj=(Object[]) data; new Listcell((String) obj[16]).setParent(li); new Listcell((String) obj[17]).setParent(li); new Listcell((String) obj[22]).setParent(li); new Listcell((String) obj[0]).setParent(li); new Listcell((String) obj[1]).setParent(li); new Listcell((String) obj[2]).setParent(li); new Listcell((String) obj[3]).setParent(li); new Listcell((String) obj[18]).setParent(li); new Listcell((String) obj[19]).setParent(li); new Listcell((String) obj[20]).setParent(li); new Listcell((String) obj[21]).setParent(li); new Listcell((String) obj[4]).setParent(li); new Listcell((String) obj[5]).setParent(li); new Listcell((String) obj[6]).setParent(li); new Listcell((String) obj[7]).setParent(li); new Listcell((String) obj[8]).setParent(li); new Listcell((String) obj[10]).setParent(li); new Listcell((String) obj[15]).setParent(li); new Listcell((String) obj[12]).setParent(li); new Listcell((String) obj[13]).setParent(li); new Listcell((String) obj[14]).setParent(li); new Listcell((String) obj[23]).setParent(li); new Listcell((String) obj[24]).setParent(li); new Listcell((String) obj[25]).setParent(li); } </code></pre> <p>the index is based on your column in your nativequery..</p> <p>and in .zul page you only have to do this:</p> <pre><code>&lt;listbox model="@{dokureport$composer.lstTrans}" vflex="true" itemRenderer="@{dokureport$composer.itemRenderer}"&gt; </code></pre> <p><code>itemRenderer</code> tag add default value <code>itemRenderer</code> and the <code>model</code> is list based on your controller..thanks for all of your response and sorry for my bad english..thanks..</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload