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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarAliasServico" border="normal"
		apply="${editarAliasServicoController}" width="500px"
		contentStyle="overflow:auto"
		title="${c:l('editarAliasServicoController.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('editarAliasServicoController.btnApagar.tooltiptext')}" />
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarAliasServicoController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarAliasServico.detach()"
					tooltiptext="${c:l('editarAliasServicoController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="80%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lhOrigen.label')}" />
					<combobox id="cmbOrigen"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" width="98%"
						constraint="no empty"
						initialValue="@{winEditarAliasServico$composer.aliasServico.origen}"
						selectedItem="@{winEditarAliasServico$composer.aliasServico.origen}" />
				</row>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lbDestino.label')}" />
					<combobox id="cmbDestino" autodrop="false"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" width="98%"
						constraint="no empty"
						initialValue="@{winEditarAliasServico$composer.aliasServico.destino}"
						selectedItem="@{winEditarAliasServico$composer.aliasServico.destino}" />
				</row>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lbRuta.label')}" />
					<combobox id="cmbRuta" autodrop="false"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						mold="rounded" buttonVisible="true" width="98%"
						constraint="no empty"
						model="@{winEditarAliasServico$composer.lsRutas}"
						selectedItem="@{winEditarAliasServico$composer.aliasServico.ruta}" />
				</row>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lbCorrida.label')}" />
					<intbox id="txtCorrida"
						value="@{winEditarAliasServico$composer.aliasServico.corridaId}" />
				</row>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lbIdAliasOriginal.label')}" />
					<checkbox id="chkIdAliasOriginal" checked="@{winEditarAliasServico$composer.aliasServico.indIdAliasOriginal}"/>
				</row>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lhAliasOrigen.label')}" />
					<combobox id="cmbAliasOrigen"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" width="98%"
						constraint="no empty"
						initialValue="@{winEditarAliasServico$composer.aliasServico.aliasOrigen}"
						selectedItem="@{winEditarAliasServico$composer.aliasServico.aliasOrigen}" />
				</row>
				<row>
					<label
						value="${c:l('busquedaAliasServicoController.lbAliasDestino.label')}" />
					<combobox id="cmbAliasDestino" autodrop="false"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" width="98%"
						constraint="no empty"
						initialValue="@{winEditarAliasServico$composer.aliasServico.aliasDestino}"
						selectedItem="@{winEditarAliasServico$composer.aliasServico.aliasDestino}" />
				</row>
			</rows>
		</grid>
	</window>
</zk>
