AdmMono/web/gui/senda_amigo/editarParamCanjePunto.zul

81 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?page contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarParamCanjePunto"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarParamCanjePunto" border="normal"
apply="${editarParamCanjePuntoController}"
width="450px" contentStyle="overflow:auto"
title="${c:l('editarParamCanjePuntoController.window.title')}">
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
<button id="btnApagar" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarParamCanjePuntoController.btnApagar.tooltiptext')}"/>
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarParamCanjePuntoController.btnSalvar.tooltiptext')}"/>
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarParamCanjePunto.detach()"
tooltiptext="${c:l('editarParamCanjePuntoController.btnFechar.tooltiptext')}"/>
</hbox>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label value="${c:l('busquedaAcumulacionPorVentaController.lhFechainicial.label')}"/>
<datebox id="fecInicio" constraint="no empty, no past" width="60%" mold="rounded"
value="@{winEditarParamCanjePunto$composer.paramCanjePunto.feciniciovigencia}"/>
</row>
<row>
<label value="${c:l('busquedaAcumulacionPorVentaController.lhFechafinal.label')}"/>
<datebox id="fecFinal" constraint="no empty" width="60%" mold="rounded"
value="@{winEditarParamCanjePunto$composer.paramCanjePunto.fecfinvigencia}"/>
</row>
<row>
<label value="${c:l('busquedaAcumulacionPorVentaController.lhOrigen.label')}"/>
<combobox id="cmbOrigem" autodrop="false" constraint="no empty"
mold="rounded" buttonVisible="true" width="90%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
initialValue="@{winEditarParamCanjePunto$composer.paramCanjePunto.origem}"
selectedItem="@{winEditarParamCanjePunto$composer.paramCanjePunto.origem}"/>
</row>
<row>
<label value="${c:l('busquedaAcumulacionPorVentaController.lhDestino.label')}"/>
<combobox id="cmbDestino" autodrop="false" constraint="no empty"
mold="rounded" buttonVisible="true" width="90%" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
initialValue="@{winEditarParamCanjePunto$composer.paramCanjePunto.destino}"
selectedItem="@{winEditarParamCanjePunto$composer.paramCanjePunto.destino}"/>
</row>
<row>
<label value="${c:l('editarParamCanjePuntoController.Porcentaje.value')}"/>
<textbox constraint="no negative,no zero,no empty" id="porcentaje" maxValue="100"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" maxlength="6"
value="@{winEditarParamCanjePunto$composer.paramCanjePunto.porcentaje,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}"/>
</row>
<row>
<label value="${c:l('editarParamCanjePuntoController.Boletos.value')}"/>
<spinner id="boletos" constraint="no negative,no zero,no empty" mold="rounded" maxlength="2"
value="@{winEditarParamCanjePunto$composer.paramCanjePunto.cantboletooperacion}"/>
</row>
<row>
<label value="${c:l('editarParamCanjePuntoController.Operaciones.value')}"/>
<spinner id="operaciones" constraint="no negative,no zero,no empty" mold="rounded" maxlength="2"
value="@{winEditarParamCanjePunto$composer.paramCanjePunto.cantoperaciondia}"/>
</row>
</rows>
</grid>
</window>
</zk>