115 lines
5.4 KiB
XML
115 lines
5.4 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="winEditarCategoria"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarCategoria" border="normal"
|
|
apply="${editarCategoriaController}"
|
|
width="500px" height="457x" contentStyle="overflow:auto"
|
|
title="${c:l('editarCategoriaController.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('editarCategoriaController.btnApagar.tooltiptext')}"/>
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarCategoriaController.btnSalvar.tooltiptext')}"/>
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarCategoria.detach()"
|
|
tooltiptext="${c:l('editarCategoriaController.btnFechar.tooltiptext')}"/>
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label id="lbNome" value="${c:l('editarCategoriaController.lbNome.value')}"/>
|
|
<textbox id="txtNome" constraint="no empty" width="100%" maxlength="30"
|
|
value="@{winEditarCategoria$composer.categoria.desccategoria}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
|
</row>
|
|
<row>
|
|
<label id="lbCveCategoria"
|
|
value="${c:l('editarCategoriaController.lbCvecategoria.value')}"/>
|
|
<textbox id="txtCvecategoria"
|
|
constraint="no empty"
|
|
width="20%"
|
|
maxlength="3"
|
|
value="@{winEditarCategoria$composer.categoria.cvecategoria}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarCategoriaController.lbGrupoCategoria.value')}" />
|
|
<combobox id="cmbGrupoCategoria" width="70%"
|
|
maxlength="60" mold="rounded" buttonVisible="true"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCategoria$composer.lsGrupoCategoria}"
|
|
selectedItem="@{winEditarCategoria$composer.categoria.grupoCategoria}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarCategoriaController.lbDescontoMonitrip.value')}" />
|
|
<combobox id="cmbDescontoMonitrip"
|
|
mold="rounded" buttonVisible="true" width="100%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCategoria$composer.lsTipoDescontoMonitrips}"
|
|
selectedItem="@{winEditarCategoria$composer.categoria.tipoDescontoMonitrip}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarCategoriaController.lbDescontoBPe.value')}" />
|
|
<combobox id="cmbDescontoBPe"
|
|
mold="rounded" buttonVisible="true" width="100%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCategoria$composer.lsTipoDescontoBPe}"
|
|
selectedItem="@{winEditarCategoria$composer.categoria.tipoDescontoBPe}" />
|
|
</row>
|
|
<row>
|
|
<label id="lbIndemitetermorecusa"
|
|
value="${c:l('editarCategoriaController.lbIndemitetermorecusa.value')}" />
|
|
<checkbox id="chkIndemitetermorecusa"
|
|
value="@{winEditarEmpresa$composer.categoria.indemitetermorecusa}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label id="lbIndnaousaassento"
|
|
value="${c:l('editarCategoriaController.lbIndnaousaassento.value')}" />
|
|
<checkbox id="chkIndnaousaassento"
|
|
value="@{winEditarEmpresa$composer.categoria.indnaousaassento}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label id="lbIndvendenaapi"
|
|
value="${c:l('editarCategoriaController.lbIndvendenaapi.value')}" />
|
|
<checkbox id="chkIndvendenaapi"
|
|
value="@{winEditarEmpresa$composer.categoria.indvendenaapi}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label id="lbIndExigeIdentidade"
|
|
value="${c:l('editarCategoriaController.lbIndExigeIdentidade.value')}" />
|
|
<checkbox id="chkIndExigeIdentidade"
|
|
value="@{winEditarEmpresa$composer.categoria.indExigeIdentidade}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label id="lbDescImpresionGratuidade"
|
|
value="${c:l('editarCategoriaController.lbDescImpresionGratuidade.value')}" />
|
|
<textbox id="txtDescImpresionGratuidade" width="100%" maxlength="30"
|
|
value="@{winEditarCategoria$composer.categoria.descImpresionGratuidade}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" rows="2"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</window>
|
|
</zk>
|