Podpora pro sestavy definované přes JRXML soubory. Dynamické načítání

zul souborů pro nastavení sestavy.
closes #81
This commit is contained in:
2014-06-01 14:24:44 +02:00
parent b4a86ea5c2
commit cfb7e43173
15 changed files with 358 additions and 66 deletions
@@ -0,0 +1,22 @@
<?page title="${labels.ReportReports}" contentType="text/html;charset=UTF-8"?>
<zk>
<window id="reportDialog" title="${labels.ReportReports}" border="normal" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.reporting.ReportDialogVM')"
closable="true" width="550px">
<hbox>
<listbox model="@load(vm.reports)" width="250px" height="350px" selectedItem="@bind(vm.selected)">
<template name="model">
<listitem>
<listcell><label value="@load(each.name)"/></listcell>
</listitem>
</template>
</listbox>
<include src="@load(vm.optionsForm)"/>
</hbox>
<hbox>
<button label="${labels.ReportPrint}" onClick="@command('print', window=reportDialog)"/> <button label="${labels.ButtonStorno}" onClick="reportDialog.detach()"/>
</hbox>
</window>
</zk>