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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winBuscarPracaPedagio"
		title="${c:l('busquedaPracaPedagioController.window.title')}"
		apply="${busquedaCasetaPeajeController}" contentStyle="overflow:auto"
		height="500px" width="700px" border="normal">
		<toolbar>
			<button id="btnRefresh" image="/gui/img/refresh.png"
				width="35px" tooltiptext="${c:l('tooltiptext.btnActualizar')}" />
			<separator orient="vertical" />
			<button id="btnNovo" image="/gui/img/add.png" width="35px"
				tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
			<separator orient="vertical" />
			<button id="btnCerrar"
				onClick="winBuscarPracaPedagio.detach()" image="/gui/img/exit.png"
				width="35px" tooltiptext="${c:l('tooltiptext.btnFechar')}" />
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="30%" />
				<column width="70%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('busquedaPracaPedagioController.lbDescricaoPracaPedagio')}" />
					<textbox id="txtDescPracaPedagio" mold="rounded"
						width="90%" />
				</row>
			</rows>
		</grid>

		<toolbar>
			<button id="btnPesquisa" image="/gui/img/find.png"
				label="${c:l('tooltiptext.btnPesquisa')}" />
		</toolbar>

		<paging id="pagingPracaPedagio" pageSize="10" />
		<listbox id="pracaPedagioList"
			use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
			multiple="false" height="70%">
			<listhead sizable="true">
				<listheader width="20%" image="/gui/img/builder.gif"
					label="${c:l('lb.id')}" sort="auto(casetaPeajeId)" />
				<listheader id="descPracaPedagio" width="40%"
					image="/gui/img/builder.gif"
					label="${c:l('busquedaPracaPedagioController.lbDescricaoPracaPedagio')}"
					sort="auto(desccaseta)" />
				<listheader id="quantiaIda" width="20%"
					image="/gui/img/builder.gif"
					label="${c:l('busquedaPracaPedagioController.lbQuantiaIda')}"
					sort="auto(importeIda)" />
				<listheader id="quantiaVolta" width="20%"
					image="/gui/img/builder.gif"
					label="${c:l('busquedaPracaPedagioController.lbQuantiaVolta')}"
					sort="auto(importeVuelta)" />
			</listhead>
		</listbox>
	</window>
</zk>