AdmMono/web/gui/catalogos/editarEmpresa.zul

73 lines
4.0 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="winEditarEmpresa"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarEmpresa" border="normal"
apply="${editarEmpresaController}"
width="400px" contentStyle="overflow:auto"
title="${c:l('editarEmpresaController.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('editarEmpresaController.btnApagar.tooltiptext')}"/>
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarEmpresaController.btnSalvar.tooltiptext')}"/>
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarEmpresa.detach()"
tooltiptext="${c:l('editarEmpresaController.btnFechar.tooltiptext')}"/>
</hbox>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label id="lbNome" value="${c:l('editarEmpresaController.lbNome.value')}"/>
<textbox id="txtNome" constraint="no empty" width="80%" maxlength="50"
value="@{winEditarEmpresa$composer.empresa.nombempresa}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<label value="${c:l('editarEmpresaController.IndTipo.label')}"/>
<combobox id="cmbIndTipo" constraint="no empty" width="90%" mold="rounded" buttonVisible="true" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
selectedItem="@{winEditarEmpresa$composer.empresa.indTipo, converter='com.rjconsultores.ventaboletos.web.utilerias.StringToShortConverter'}">
<comboitem value="1" label="${c:l('editarEmpresaController.IndTipo.1')}" />
<comboitem value="2" label="${c:l('editarEmpresaController.IndTipo.2')}" />
<comboitem value="3" label="${c:l('editarEmpresaController.IndTipo.3')}" />
</combobox>
</row>
<row>
<label id="lbExterna" value="${c:l('editarEmpresaController.externa.label')}"/>
<checkbox id="chkExterna"/>
</row>
<row>
<label value="${c:l('editarEmpresaController.pagoConductor.label')}"/>
<checkbox id="chkPagoConductor" checked="@{winEditarEmpresa$composer.empresa.pagoConductor"/>
</row>
<row>
<label value="${c:l('editarEmpresaController.rfc.label')}"/>
<textbox id="txtRFC" width="100px" maxlength="13"
value="@{winEditarEmpresa$composer.empresa.rfc}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row id="rowEquivalencia">
<label value="${c:l('lb.Equivalencia')}"/>
<textbox id="txtEquivalencia" width="100px" maxlength="10"
value="@{winEditarEmpresa$composer.empresa.equivalenciaId}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
</rows>
</grid>
</window>
</zk>