- Adição do prefixo da linha

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@20498 d1611594-4594-4d17-8e1d-87c2c4800839
master
gleimar 2012-08-14 20:51:27 +00:00
parent e155397f43
commit f582f4f9f5
1 changed files with 142 additions and 113 deletions

View File

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