Advertisement
Guest User

Untitled

a guest
Mar 7th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. <?page title="Customer" contentType="text/html;charset=UTF-8"?>
  2. <zk>
  3. <window title="Customer" border="normal"
  4. apply="org.zkoss.bind.BindComposer"
  5. viewModel="@id('vm') @init('vmd.MstCustomerVmd')">
  6. <hlayout>
  7. <button label="add" onClick="@ccommand('add')"></button>
  8. <button label="edit" onClick="@command('delete')"></button>
  9. <button label="hapus" onClick="@command('hapus')"></button>
  10. </hlayout>
  11.  
  12. <!-- <div style="text-align:right">
  13. <label value="cari"></label>
  14. <textbox value="@bind(vm.cari)" onOK="@command('cari')"></textbox>
  15. </div> -->
  16. <space/>
  17. <listbox model="@load(vm.customerDtos)"
  18. selectedItem="@bind(vm.mstCustomerDTO)" mold="paging"
  19. pagingPosition="bottom" pageSize="3">
  20. <listhead>
  21. <listheader label="Kode Customer" sort="auto"></listheader>
  22. <listheader label="Nama Customer" sort="auto"></listheader>
  23. <listheader label="Alamat Customer" sort="auto"></listheader>
  24. <listheader label="Jenis Kelamin" sort="auto"></listheader>
  25. <listheader label="Email Customer" sort="auto"></listheader>
  26. <listheader label="Kota" sort="auto"></listheader>
  27. </listhead>
  28. <template name="model">
  29. <listitem>
  30. <listcell label="@load(each.kodeCustomer)"></listcell>
  31. <listcell label="@load(each.namaCustomer)"></listcell>
  32. <listcell label="@load(each.alamatCustomer)"></listcell>
  33. <listcell label="@load(each.jenisKelamin)"></listcell>
  34. <listcell label="@load(each.emailCustomer)"></listcell>
  35. <listcell label="@load(each.namaKota)"></listcell>
  36. </listitem>
  37. </template>
  38. </listbox>
  39. </window>
  40. </zk>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement