Nastavení prefixů číselných řad.

refs #101
This commit is contained in:
2014-07-03 12:53:20 +02:00
parent 1283fe627d
commit 26f02b97fe
5 changed files with 93 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?page title="NumberSeriesFormTitle" contentType="text/html;charset=UTF-8"?>
<zk>
<window id="editWin" border="normal" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.settings.NumberSeriesVM')" closable="true" width="400px">
<caption zclass="form-caption" label="${labels.NumberSeriesFormTitle}" />
<!-- <combobox></combobox> -->
<grid model="@load(vm.numberSeriesList)">
<columns>
<column hflex="min"/>
<column/>
<column hflex="min"/>
<column hflex="min"/>
</columns>
<rows>
<template name="model">
<row>
<label value="@load(vm.moduleMap[each.module].name.concat(' - ').concat(labels.Prefix))"/>
<textbox value="@bind(each.prefix)"/>
<label value="${labels.Number}"/>
<label value="@load(each.number)"/>
</row>
</template>
</rows>
</grid>
<include src="/app/formButtons.zul"/>
</window>
</zk>