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

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

	<window id="winBusquedaPricingClasseTarifaria"
		title="${c:l('editarPricingClasseTarifariaController.window.title')}"
		apply="${busquedaPricingClasseTarifariaController}"
		contentStyle="overflow:auto" height="520px" width="720px"
		border="normal">

		<toolbar>
			<button id="btnRefresh" image="/gui/img/refresh.png"
				width="35px"
				tooltiptext="${c:l('busquedaPricingController.btnRefresh.tooltiptext')}" />
			<separator orient="vertical" />
			<button id="btnApagar" height="20"
				image="/gui/img/remove.png" width="35px"
				tooltiptext="${c:l('editarPricingController.btnApagarPricing.tooltiptext')}" />
			<button id="btnNovo" disabled="${arg.isReadOnly}"  image="/gui/img/add.png" width="35px"
				tooltiptext="${c:l('busquedaPricingController.btnNovo.tooltiptext')}" />
			<separator orient="vertical" />
			<button id="btnCerrar"
				onClick="winBusquedaPricingClasseTarifaria.detach()"
				image="/gui/img/exit.png" width="35px"
				tooltiptext="${c:l('busquedaPricingController.btnCerrar.tooltiptext')}" />
		</toolbar>


		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('editarPricingClasseTarifariaController.label.desc')}" />
					<textbox id="desc" maxlength="20"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
				<row>
					<label
						value="${c:l('editarPricingClasseTarifariaController.label.sigla')}" />
					<textbox id="sigla" maxlength="1"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
			</rows>
		</grid>

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

		<paging id="pagingPricing" pageSize="15" />
		<listbox id="pricingClasseTarifariaList"
			use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
			multiple="false" height="60%" vflex="false">
			<listhead sizable="true">
				<listheader image="/gui/img/create_doc.gif" width="70px"
					label="${c:l('lb.id')}" sort="auto(pricingId)" />
				<listheader image="/gui/img/create_doc.gif"
					label="${c:l('editarPricingClasseTarifariaController.label.desc')}"
					sort="auto(descClasseTarifaria)" />
				<listheader image="/gui/img/create_doc.gif"
					label="${c:l('editarPricingClasseTarifariaController.label.sigla')}"
					sort="auto(sigla)" />
			</listhead>
		</listbox>
	</window>
</zk>