260 lines
9.7 KiB
XML
260 lines
9.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="winEditarCliente"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarCliente" border="normal"
|
|
apply="${editarClienteController}" width="600px"
|
|
contentStyle="overflow:auto" xmlns:h="http://www.w3.org/1999/xhtml"
|
|
title="${c:l('editarClienteController.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('editarClienteController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarClienteController.btnSalvar.tooltiptext')}" />
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarCliente.detach()"
|
|
tooltiptext="${c:l('editarClienteController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<tabbox>
|
|
<tabs width="200px">
|
|
<tab
|
|
label="${c:l('editarClienteController.window.title')}" />
|
|
<tab
|
|
label="${c:l('editarClienteController.tab.label.endereco')}" />
|
|
</tabs>
|
|
|
|
<tabpanels>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="25%" />
|
|
<column width="75%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaClienteController.numFidelidade.label')}" />
|
|
<intbox id="txtNumFidelidade"
|
|
disabled="true" width="40%" />
|
|
</row>
|
|
<row>
|
|
<!--Nome do Cliente-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbNombCliente.value')}" />
|
|
<textbox id="txtNombCliente" width="95%"
|
|
maxlength="60" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarCliente$composer.cliente.nombcliente}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbApellidoPaterno.value')}" />
|
|
<textbox id="txtApellidoPaterno"
|
|
width="95%" maxlength="60" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarCliente$composer.cliente.apellidopaterno}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbApellidoMaterno.value')}" />
|
|
<textbox id="txtApellidoMaterno"
|
|
width="95%" maxlength="60" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarCliente$composer.cliente.apellidomaterno}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbIndSexo.value')}" />
|
|
<radiogroup Id="indSexo">
|
|
<radio id="radFeminino"
|
|
label="${c:l('editarClienteController.radFeminino.value')}"
|
|
checked="true" />
|
|
<radio id="radMasculino"
|
|
label="${c:l('editarClienteController.radMasculino.value')}" />
|
|
</radiogroup>
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbFecNacimiento.value')}" />
|
|
<datebox id="dateFecNacimiento"
|
|
mold="rounded" lenient="false" constraint="no empty"
|
|
width="40%"
|
|
value="@{winEditarCliente$composer.cliente.fecnacimiento}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbNumRfc.value')}" />
|
|
<textbox id="txtNumRfc" width="40%"
|
|
maxlength="15"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarCliente$composer.cliente.numIdentificaUno}" />
|
|
</row>
|
|
<row visible="false">
|
|
<label
|
|
value="${c:l('editarClienteController.lbNumCurp.value')}" />
|
|
<textbox id="txtNumCurp" width="40%"
|
|
maxlength="18"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarCliente$composer.cliente.numIdentificaUno}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbEdad.value')}" />
|
|
<intbox id="txtEdad" width="40%"
|
|
maxlength="3" constraint="no zero"
|
|
value="@{winEditarCliente$composer.cliente.edad}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbCanthijos.value')}" />
|
|
<intbox id="txtCanthijos" width="40%"
|
|
maxlength="2" constraint="no zero"
|
|
value="@{winEditarCliente$composer.cliente.canthijos}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbOcupacion.value')}" />
|
|
<combobox id="cmbOcupacion" width="70%"
|
|
maxlength="60" mold="rounded" buttonVisible="true"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCliente$composer.lsTipoOcupacion}"
|
|
selectedItem="@{winEditarCliente$composer.cliente.tipoocupacionId}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbMotivacionViaje.value')}" />
|
|
<combobox id="cmbMotivacionViaje"
|
|
width="70%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true"
|
|
model="@{winEditarCliente$composer.lsMotivoViaje}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.cliente.motivoviajeId}" />
|
|
</row>
|
|
<row>
|
|
<!-- Tel1 -->
|
|
<label
|
|
value="${c:l('editarClienteController.lbTelefonoUno.value')}" />
|
|
<textbox id="numtelefonouno"
|
|
constraint="no zero" width="40%" maxlength="15"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!-- Tel2 -->
|
|
<label
|
|
value="${c:l('editarClienteController.lbTelefonoDos.value')}" />
|
|
<textbox id="numtelefonodos"
|
|
constraint="no zero" width="40%" maxlength="15"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--fax-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbNumFax.value')}" />
|
|
<textbox id="txtNumFax"
|
|
constraint="no zero" width="40%" maxlength="15"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbDescorreo.value')}" />
|
|
<textbox id="txtDescorreo" width="70%"
|
|
maxlength="60"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarCliente$composer.cliente.desccorreo}" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<!-- ENDERECO -->
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="25%" />
|
|
<column width="75%" />
|
|
</columns>
|
|
<rows>
|
|
<!-- Tipo de domicilio -->
|
|
<row>
|
|
<label
|
|
value="${c:l('editarClienteController.lbTipoDomicilio.value')}" />
|
|
<combobox id="cmbDomicilio" width="95%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true"
|
|
model="@{winEditarCliente$composer.lsTipoDomicilio}" />
|
|
</row>
|
|
<row>
|
|
<!--Rua-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbCalle.value')}" />
|
|
<textbox id="txtDireccionCalle"
|
|
width="95%" maxlength="30" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--Numero-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbNumero.value')}" />
|
|
<textbox id="txtDireccionNumero"
|
|
constraint="no empty" width="40%" maxlength="30"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--compl-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbCompl.value')}" />
|
|
<textbox id="txtDireccionCompl"
|
|
width="40%" maxlength="30"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--Colonia-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbColonia.value')}" />
|
|
<textbox id="txtDescColonia"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--Ciudad-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbCiudad.value')}" />
|
|
<textbox id="txtDescCiudad"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--Estado-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbEstado.value')}" />
|
|
<textbox id="txtDescEstado"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--CP-->
|
|
<label
|
|
value="${c:l('editarClienteController.lbCP.value')}" />
|
|
<textbox id="txtCP" width="70%"
|
|
maxlength="6"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|