<?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="winEditarConexionExcepcion"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<zk>
	<window id="winEditarConexionExcepcion"
		title="${c:l('editarConexionExcepcionController.window.title')}"
		apply="${editarConexionExcepcionController}"
		contentStyle="overflow:auto" height="155px" width="550px"
		border="normal">

		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarConexionController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarConexionExcepcion.detach()"
					tooltiptext="${c:l('editarConexionController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="80%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('relatorioLinhasHorarioController.lbServico.label')}" />

					<bandbox id="bbPesquisarServico" width="100%"
						mold="rounded" readonly="true">
						<bandpopup>
							<vbox>
								<hbox>
									<intbox id="txtCorridaId" />
									<button id="btnPesquisaServico"
										image="/gui/img/find.png"
										label="${c:l('relatorioLinhasHorarioController.btnPesquisa.label')}" />
								</hbox>

								<listbox id="servicoList" mold="paging"
									use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
									vflex="true" multiple="false" height="60%" width="410px">
									<listhead>
										<listheader
											label="${c:l('relatorioLinhasHorarioController.lbServico.label')}"
											width="20%" />
										<listheader
											label="${c:l('relatorioLinhasHorarioController.rutaId.label')}"
											width="20%" />
										<listheader
											label="${c:l('relatorioLinhasHorarioController.origem.destino.label')}"
											width="60%" />
									</listhead>
								</listbox>
								<paging id="pagingServico"
									pageSize="10" />
							</vbox>
						</bandpopup>
					</bandbox>
				</row>

				<row>
					<cell colspan="4">
						<borderlayout height="50px">

							<center border="0">
								<listbox id="servicoListSelList"
									mold="paging"
									use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
									vflex="true" multiple="true" height="60%" width="100%">
									<listhead>
										<listheader
											label="${c:l('relatorioLinhasHorarioController.lbServico.label')}"
											width="20%" />
										<listheader
											label="${c:l('relatorioAproveitamentoController.Origem.label')}"
											width="35%" />
										<listheader
											label="${c:l('relatorioAproveitamentoController.Destino.label')}"
											width="35%" />
										<listheader width="10%" />

									</listhead>
								</listbox>
							</center>
						</borderlayout>
					</cell>
				</row>
			</rows>
		</grid>
	</window>
</zk>