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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarServicio" border="normal"
		apply="${editarServicioController}" width="400px" height="457x"
		contentStyle="overflow:auto"
		title="${c:l('editarArticuloController.window.title')}">
		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarArticuloController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarServicio.detach()"
					tooltiptext="${c:l('editarArticuloController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label id="lbNumCorrida"
						value="${c:l('editarConfiguracionCorridaController.lbNumCorrida.value')}" />
					<intbox id="txtNumCorrida" maxlength="7"
						constraint="no empty" width="120px" 
						value="@{winEditarServicio$composer.esquemaCorrida.numCorrida}" />
				</row>
				<row>
					<label
						value="${c:l('editarConfiguracionCorridaController.lbCantParados.value')}" />
					<spinner id="cantparados" mold="rounded"
						constraint="no negative, no empty, min 0 max 99" maxlength="2"
						value="@{winEditarServicio$composer.esquemaCorrida.cantparados}" />
				</row>
				<row>
					<label
						value="${c:l('editarConfiguracionCorridaController.cmbEmpresaRolOperativo.value')}" />
					<combobox id="cmbRolOperativo"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						constraint="no empty" mold="rounded" buttonVisible="true"
						width="70%" model="@{winEditarServicio$composer.lsRolOperativo}"
						selectedItem="@{winEditarServicio$composer.esquemaCorrida.rolOperativo}" />
				</row>
				<row spans="1, 3">
					<label
						value="${c:l('editarConfiguracionCorridaController.cmbClase.value')}" />
					<combobox id="cmbClase"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						constraint="no empty" mold="rounded" buttonVisible="true"
						width="70%"
						model="@{winEditarServicio$composer.lsClase}"
						selectedItem="@{winEditarServicio$composer.esquemaCorrida.claseServicio}" />
				</row>
				<row>
					<label
						value="${c:l('editarConfiguracionCorridaController.cmbMarca.value')}" />
					<combobox id="cmbMarca"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						constraint="no empty" mold="rounded" buttonVisible="true"
						width="70%" model="@{winEditarServicio$composer.lsMarca}"
						selectedItem="@{winEditarServicio$composer.esquemaCorrida.marca}" />
				</row>
			</rows>
		</grid>
	</window>
</zk>
