Přidána agenda Budovy.

This commit is contained in:
2014-05-12 08:36:00 +02:00
parent 8939b24ff1
commit 1f1f053675
16 changed files with 320 additions and 7 deletions
+30
View File
@@ -0,0 +1,30 @@
<?page title="${labels.AgendaBuildings}" contentType="text/html;charset=UTF-8"?>
<zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window title="${labels.AgendaBuildings}" border="normal" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('info.bukova.isspst.ui.BuildingList')">
<toolbar>
<toolbarbutton image="/img/add.png" tooltiptext="${labels.ToolbarRecNew}" id="btnNew" onClick="@command('addNew')" disabled="@load(vm.filter)" />
<toolbarbutton image="/img/edit.png" tooltiptext="${labels.ToolbarRecEdit}" id="btnEdit" onClick="@command('edit')" disabled="@load(empty vm.dataBean ? 'true' : 'false')" />
<toolbarbutton image="/img/delete.png" tooltiptext="${labels.ToolbarRecDelete}" id="btnDelete" onClick="@command('delObject')" disabled="@load(empty vm.dataBean ? 'true' : 'false')" />
<toolbarbutton image="/img/funnel.png" tooltiptext="${labels.ToolbarRecFilter}" id="btnFilter" onClick="@command('filter')" />
</toolbar>
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)">
<listhead>
<listheader label="${labels.BuildingsGridColumnCode}" width="10%" />
<listheader label="${labels.BuildingsGridColumnName}" width="30%" />
<listheader label="${labels.BuildingsGridColumnDescription}" width="60%" />
</listhead>
<template name="model">
<listitem>
<listcell label="@load(each.code)" />
<listcell label="@load(each.name)" />
<listcell label="@load(each.description)" />
</listitem>
</template>
</listbox>
</window>
</zk>