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

<zk xmlns="http://www.zkoss.org/2005/zul">

	<window id="winAtualizaCorridaHusoVerano"
		apply="${atualizarCorridaFecHusoFecVeranoController}"
		contentStyle="overflow:auto" width="500px" border="normal">

		<grid fixedLayout="true">
			<columns>
				<column width="30%" />
				<column width="75%" />
			</columns>

			<rows>

				<row spans="2,2">

					<label
						value="${c:l('atualizarCorridaFecHusoFecVeranoController.window.text')}" />
				</row>
				<row>
					<label
						value="* ${c:l('atualizarCorridaFecHusoFecVeranoController.label.datInicial')}" />
					<textbox id="datInicial" width="30%" mold="rounded"
						constraint="/^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$/: Digite uma data válida (dd/mm/aaaa)"
						maxlength="10" />
				</row>
				<row>
					<label
						value="* ${c:l('editarEmpresaController.estado.label')}" />
					<combobox id="cmbEstado"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						constraint="no empty" mold="rounded" buttonVisible="true"
						width="70%"
						model="@{winAtualizaCorridaHusoVerano$composer.lsEstados}" />
				</row>
				<row>
					<label
						value="${c:l('atualizaCorridaFecHusoFecVerano.numcorrida')}" />
					<intbox id="ibxCorridaId" />
				</row>
				<row>
					<label
						value="${c:l('atualizarCorridaFecHusoFecVeranoController.label.opcaoFecVeranoCorrecionFec')}" />
					<radiogroup >
						<radio id="rdbFecVerano" checked="true" label="${c:l('atualizarCorridaFecHusoFecVeranoController.label.FecVerano')}"/>
						<radio id="rdbCorrecionFec" label="${c:l('atualizarCorridaFecHusoFecVeranoController.label.CorrecionFec')}" />
					</radiogroup>
				</row>
				<row>
					<label
						value="${c:l('atualizarCorridaFecHusoFecVeranoController.label.FecBase')}" />
					<textbox id="dataParaCopia" width="30%" mold="rounded"
						constraint="/^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$/: Digite uma data válida (dd/mm/aaaa)"
						maxlength="10" />
				</row>
			</rows>
		</grid>

		<toolbar>
			<button id="btnAtualizarCorridas" image="/gui/img/save.png"
				label="${c:l('atualizarCorridaFecHusoFecVeranoController.label.btnAtualizarCorridas')}" />
		</toolbar>
	</window>
</zk>