누구나 zk (zkoss) 프레임 워크를 사용하여 도움을받을 수 있습니까? 나는이 프레임 워크에서 새로운 것이다. jsonobject 목록을 사용하여 표/목록 상자를 만들고 싶습니다. jsonobject 목록을 사용하여 그리드/목록 상자를 만드는 데 도움이 될 수있는 예제가 없습니다. 나는이 같은 간단한 목록 상자를 만들려면 : 사전에ZK Grid/Listbox JSONObject 목록 사용
<?page title="Table of Users" contentType="text/html;charset=UTF-8"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<zk>
<window id="windowUsers" width="500px" apply="${userController}" viewModel="@id('vm')">
<groupbox mold="3d">
<caption label="Table of Users" />
<listbox model="@load(vm.listUser)" width="400px">
<listhead>
<listheader label="User Id"/>
<listheader label="Name"/>
<listheader label="Address"/>
<listheader label="Phone"/>
</listhead>
<template name="model" var="list">
<listitem>
<listcell label="@load(list.id)" />
<listcell label="@load(list.name)" />
<listcell label="@load(list.address)" />
<listcell label="@load(list.phone)" />
</listitem>
</template>
</listbox>
</groupbox>
</window>
감사의.