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

<zk>
	<window id="winEditarEscola" border="normal"
		apply="${editarEscolaController}" width="550px" height="122px"
		contentStyle="overflow:auto"
		title="${c:l('editarEscolaController.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('editarEscolaController.btnApagar.tooltiptext')}" />
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarEscolaController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarEscola.detach()"
					tooltiptext="${c:l('editarEscolaController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="30%" />
				<column width="70%" />
			</columns>
			<rows>
				<row>
					<label id="lbNome"
						value="${c:l('busquedaEscolaController.txtNombre.label')}" />
					<textbox id="txtNome" constraint="no empty"
						width="90%" maxlength="30"
						value="@{winEditarEscola$composer.escola.nombescola}"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
				<row>
					<label
						value="${c:l('editarEscolaController.txtCiudad.value')}" />
					<combobox id="cmbCiudad" width="90%" mold="rounded"
						buttonVisible="true" constraint="no empty"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxCiudad"
						initialValue="@{winEditarEscola$composer.escola.ciudad}"
						selectedItem="@{winEditarEscola$composer.escola.ciudad}" />
				</row>
			</rows>
		</grid>
	</window>
</zk>
