Created
October 30, 2011 12:35
-
-
Save radityopw/1325856 to your computer and use it in GitHub Desktop.
checkbox in listbox with zk framework...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="win"?> | |
<!-- | |
index.zul | |
{{IS_NOTE | |
Purpose: | |
Description: | |
History: | |
Mon Jun 12 21:23:35 2006, Created by tomyeh | |
Fri May 01 04:36:35 2009, Modified by stera | |
}}IS_NOTE | |
Copyright (C) 2006 Potix Corporation. All Rights Reserved. | |
{{IS_RIGHT | |
}}IS_RIGHT | |
--> | |
<zk xmlns="http://www.zkoss.org/2005/zul"> | |
<window id="win" apply="controller.MyListBox"> | |
<listbox id="listOne" model="@{win$composer.daftarMahasiswa}" multiple="true" | |
checkmark="true" > | |
<listhead> | |
<listheader label="nama"/> | |
<listheader label="nrp"/> | |
</listhead> | |
<listitem self="@{each='mahasiswa'}"> | |
<listcell label="@{mahasiswa.nama}"/> | |
<listcell label="@{mahasiswa.nrp}"/> | |
</listitem> | |
</listbox> | |
<button id="selectBtn" label="Pilih!"/> | |
</window> | |
</zk> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment