-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello all. I have a page like this:
<?xml version="1.0" encoding="UTF-8" ?> <?page id="indexZUL" title="Sample ZK with JPA + Derby" cacheable="false" language="xul/html" zscriptLanguage="Java" contentType="text/html;charset=UTF-8"?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?> <zk> <borderlayout id="win" use="com.jpa.UuserTest1"> <panel width="50%" border="normal" title="Data List"> <panelchildren> <div align="left"> <listbox id="lb" width="500" height="300" > <listhead sizable="true"> <listheader label="Email " sort="auto" width="150px"/> <listheader label="LoginID " width="120px" /> <listheader label="Password" width="120px" /> <listheader label="Alias " sort="auto" width="100px"/> </listhead> <listitem forEach="${win.uuser}" value="${each}"> <listcell label="${each.uemail}"/> <listcell label="${each.bulaid}"/> <listcell label="${each.bulaword}"/> <listcell label="${each.ualias}"/> </listitem> </listbox> </div> </panelchildren> </panel> </borderlayout> </zk>
<center flex="true"> <panel width="50%" border="normal" title="Data List"> <panelchildren> <div align="left"> <listbox id="lb" width="500" height="300" > <listhead sizable="true"> <listheader label="Email " sort="auto" width="150px"/> <listheader label="LoginID " width="120px" /> <listheader label="Password" width="120px" /> <listheader label="Alias " sort="auto" width="100px"/> </listhead> <listitem forEach="${win.uuser}" value="${each}"> <listcell label="${each.uemail}"/> <listcell label="${each.bulaid}"/> <listcell label="${each.bulaword}"/> <listcell label="${each.ualias}"/> </listitem> </listbox> </div> </panelchildren> </panel> </center>
you provide an non-runnable code in both case.
Asked: 2009-07-13 12:07:16 +0800
Seen: 652 times
Last updated: Nov 21 '18