<?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="winNuevaParada"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<?component name="intbox" extends="intbox" constraint="no empty" style="text-align:right; color:#373842" inplace="true" width="55px"?>

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winNuevaParada" border="normal" width="500px"
		apply="${nuevaParadaController}" height="250px%">
		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarTramosController.btnSalvar.tooltiptext')}" />

				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winNuevaParada.detach()"
					tooltiptext="${c:l('editarTramosController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>
		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="10%" />
				<column width="10%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('nuevaParadaController.lblCodOrigem.value')}" />
					<textbox id="cveParadaOrigem" maxlength="6" forward="onOK=onChange" 
						 value="" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" >
					</textbox>
				

					<label
						value="${c:l('nuevaParadaController.lblOrigen.value')}" />
					<combobox id="cmbParadaOrigen"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" />
				</row>

				<row>
					<label
						value="${c:l('nuevaParadaController.lblCodDestino.value')}" />
					<textbox id="cveParadaDestino" maxlength="6" forward="onOK=onChange"
						value="" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox">
					</textbox>
				
					<label
						value="${c:l('nuevaParadaController.lblDestino.value')}" />
					<combobox id="cmbParadaDestino"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" />
				</row>
			</rows>
		</grid>

		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('nuevaParadaController.lblVia.value')}" />
					<combobox id="cmbVia"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						mold="rounded" buttonVisible="true" 
						model="@{winNuevaParada$composer.lsVias}"
						selectedItem="@{winNuevaParada$composer.via}" />
				</row>
			</rows>
		</grid>

	</window>
</zk>