234 lines
8.7 KiB
XML
234 lines
8.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="winEditarEstacion"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk>
|
|
<window id="winEditarEstacion" border="normal"
|
|
apply="${editarEstacionController}" width="500px"
|
|
contentStyle="overflow:auto"
|
|
title="${c:l('editarEstacionController.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('editarEstacionController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarEstacionController.btnSalvar.tooltiptext')}" />
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarEstacion.detach()"
|
|
tooltiptext="${c:l('editarEstacionController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
<tabbox>
|
|
<tabs width="200px">
|
|
<tab
|
|
label="${c:l('editarEstacionController.window.title')}" />
|
|
<tab
|
|
label="${c:l('editarEstacionController.tab.label.sitef')}" />
|
|
<tab
|
|
label="${c:l('editarEstacionController.tab.label.impresora')}" />
|
|
</tabs>
|
|
<tabpanels>
|
|
<!-- ESTACAO -->
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="30%" />
|
|
<column width="70%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.lhDescEstacion.label')}" />
|
|
<textbox id="txtDescEstacion"
|
|
width="90%" rows="3" constraint="no empty" maxlength="60"
|
|
value="@{winEditarEstacion$composer.estacion.descestacion}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.lhDescMac.label')}" />
|
|
<textbox id="txtDescMac" width="90%"
|
|
constraint="${c:new('com.rjconsultores.ventaboletos.web.utilerias.MACConstraint')}"
|
|
maxlength="17"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.lhNumCaja.label')}" />
|
|
<longbox id="txtNumCaja" width="90%"
|
|
constraint="no empty" maxlength="10"
|
|
value="@{winEditarEstacion$composer.estacion.numcaja}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.nomeImpressoraRelatorio.label')}" />
|
|
<textbox id="txtNomImpressoaraRelatorio"
|
|
width="90%" maxlength="20"
|
|
value="@{winEditarEstacion$composer.estacion.nomeImpressoraRelatorio}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.lhPuntoVenta.label')}" />
|
|
<combobox id="cmbPuntoVenta"
|
|
constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
|
initialValue="@{winEditarEstacion$composer.estacion.puntoVenta}"
|
|
selectedItem="@{winEditarEstacion$composer.estacion.puntoVenta}"
|
|
mold="rounded" buttonVisible="true" width="90%" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.conexion')}" />
|
|
<combobox id="cmbConexion" width="90%"
|
|
mold="rounded" buttonVisible="true"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
selectedItem="@{winEditarEstacion$composer.estacion.conexionBancaria}">
|
|
<!-- comboitem value="B" label="${c:l('editarEstacionController.IndTipo.1')}" /-->
|
|
<comboitem value="M"
|
|
label="${c:l('editarEstacionController.IndTipo.2')}" />
|
|
<!-- comboitem value="S" label="${c:l('editarEstacionController.IndTipo.3')}" /-->
|
|
<comboitem value="E"
|
|
label="${c:l('editarEstacionController.IndTipo.4')}" />
|
|
</combobox>
|
|
</row>
|
|
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
|
|
<tabpanel>
|
|
<!-- SITEF -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="30%" />
|
|
<column width="70%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.empresa.label')}" />
|
|
<combobox id="cmbEmpresa" width="90%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true"
|
|
model="@{winEditarEstacion$composer.lsEmpresa}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.lbNumEmpresa.value')}" />
|
|
<intbox id="txtNumEmpresa" width="90%"
|
|
maxlength="4" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.lbNumFilial.value')}" />
|
|
<intbox id="txtNumFilial" width="90%"
|
|
maxlength="4" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.lbNumPdv.value')}" />
|
|
<intbox id="txtNumPdv" width="90%"
|
|
maxlength="3" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.txtIpServidor.value')}" />
|
|
<textbox id="txtIpServidor" width="90%"
|
|
maxlength="17" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px"
|
|
align="right">
|
|
<button id="btnAddConfSitef" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarEstacionController.btnAddSitef.tooltiptext')}" />
|
|
<button id="btnRemConfSitef" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarEstacionController.btnBorrarSitef.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
<listbox id="estacionSitefList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false" height="100px">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEstacionController.empresa.label')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEstacionController.numEmpresa.label')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEstacionController.numFilial.label')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEstacionController.numPdv.label')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEstacionController.txtIpServidor.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
|
|
<tabpanel>
|
|
<!-- IMPRESSORAS -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="30%" />
|
|
<column width="70%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEstacionController.empresa.label')}" />
|
|
<combobox id="cmbEmpresaImpressora"
|
|
width="90%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true"
|
|
model="@{winEditarEstacion$composer.lsEmpresa}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.nomeImpressora.label')}" />
|
|
<textbox id="txtNomImpressoara"
|
|
width="90%" maxlength="40" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaEstacionController.nomeArquivoLayout.label')}" />
|
|
<textbox id="txtNomeArquivoLayout"
|
|
width="90%" maxlength="20" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px"
|
|
align="right">
|
|
<button id="btnAddEstacionImpresora"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarEstacionController.btnAddSitef.tooltiptext')}" />
|
|
<button id="btnRemEstacionImpresora"
|
|
height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarEstacionController.btnBorrarSitef.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
<listbox id="estacionImpresoraList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false" height="100px">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEstacionController.empresa.label')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('busquedaEstacionController.nomeImpressora.label')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('busquedaEstacionController.nomeArquivoLayout.label')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|