151 lines
4.4 KiB
XML
151 lines
4.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="winEditarTramoRuta"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk>
|
|
|
|
<window
|
|
id="winEditarTramoRuta"
|
|
border="normal"
|
|
width="750px"
|
|
apply="${editarTramoRutaController}"
|
|
height="550px">
|
|
<style dynamic="true">.z-textbox{background: #ffa99c} .z-spinner-inp{background:#ffa99c} .z-textbox-real-readonly, .z-textbox-readonly{background:#99beff} .z-spinner-readonly, .z-spinner-text-disd{background:#99beff}</style>
|
|
<toolbar>
|
|
<hbox
|
|
spacing="5px"
|
|
style="padding:1px"
|
|
align="right">
|
|
<button
|
|
id="btnFechar"
|
|
height="20"
|
|
image="/gui/img/exit.png"
|
|
width="35px"
|
|
onClick="winEditarTramoRuta.detach()"
|
|
tooltiptext="${c:l('editarTramosController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="15%" />
|
|
<column width="30%" />
|
|
<column width="25%" />
|
|
<column width="30%" />
|
|
</columns>
|
|
<rows>
|
|
|
|
<row>
|
|
<label value="${c:l('editarTramoRutaController.lblRuta.value')}" />
|
|
<textbox
|
|
id="txtDscRuta"
|
|
width="89%"
|
|
sclass="mydb"
|
|
readonly="true" />
|
|
<label value="${c:l('editarTramoRutaController.lblClase.value')}" />
|
|
<combobox
|
|
id="cmbClaseServicio"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty"
|
|
mold="rounded"
|
|
buttonVisible="true"
|
|
width="80%"
|
|
model="@{winEditarTramoRuta$composer.lsClaseServicio}" />
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarTramoRutaController.lblVtaHandHeld.value')}" />
|
|
<checkbox id="chkVentaHandHeld" />
|
|
<label value="${c:l('editarTramoRutaController.lblNombrePasajero.value')}" />
|
|
<checkbox id="chkSolicitaNombrePasajero" />
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarTramoRutaController.lblPrefixo.value')}" />
|
|
<textbox
|
|
id="txtPrefixo"
|
|
width="89%"
|
|
constraint="no empty"
|
|
sclass="mydb"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<tabbox id="tb">
|
|
<tabs id="tabs">
|
|
<tab
|
|
id="A"
|
|
label="${c:l('editarTramoRutaController.tabRuta.value')}" />
|
|
<tab
|
|
id="B"
|
|
label="${c:l('editarTramoRutaController.tabEmpresa.value')}" />
|
|
</tabs>
|
|
<tabpanels>
|
|
<tabpanel>
|
|
<vbox>
|
|
<grid
|
|
id="gridRutaSecuencia"
|
|
mold="paging"
|
|
pageSize="11"
|
|
use="com.rjconsultores.ventaboletos.web.gui.componente.esquemaoperacional.GridRutaTramo"
|
|
height="330px">
|
|
</grid>
|
|
<toolbar align="center">
|
|
<button
|
|
label="${c:l('editarTramoRutaController.btnAgregarPaso.label')}"
|
|
id="btnAgregarPaso" />
|
|
<button
|
|
label="${c:l('editarTramoRutaController.btnCombinacion.label')}"
|
|
id="btnCombinacion" />
|
|
</toolbar>
|
|
</vbox>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="30%" />
|
|
<column width="70%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarTramoRutaController.lbEmpresa.value')}" />
|
|
<combobox
|
|
id="cmbEmpresa"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded"
|
|
buttonVisible="true"
|
|
width="80%"
|
|
model="@{winEditarTramoRuta$composer.lsEmpresa}" />
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarTramoRutaController.lbAddBorrar.value')}" />
|
|
<hbox>
|
|
<button
|
|
id="btnAdicionarEmpresaRuta"
|
|
height="20"
|
|
image="/gui/img/add.png"
|
|
width="35px"
|
|
tooltiptext="${c:l('editarTramoRutaController.btnAddEmpresa.tooltiptext')}" />
|
|
<button
|
|
id="btnRemoverEmpresaRuta"
|
|
height="20"
|
|
image="/gui/img/remove.png"
|
|
width="35px"
|
|
tooltiptext="${c:l('editarTramoRutaController.btnBorrarEmpresa.tooltiptext')}" />
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox
|
|
id="rutaEmpresaList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
height="260px">
|
|
<listhead sizable="true">
|
|
<listheader
|
|
image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarTramoRutaController.lbEmpresa.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk> |