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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winBusquedaAliasClasse"
		title="${c:l('busquedaAliasClasseController.window.title')}"
		apply="${busquedaAliasClasseController}" contentStyle="overflow:auto"
		height="500px" width="600px" 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.btnNuevo')}" />
			<separator orient="vertical" />
			<button id="btnCerrar"
				onClick="winBusquedaAliasClasse.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('label.classe')}"/>
                    <combobox id="cmbClasse" 
                    use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" 
                    model="@{winBusquedaAliasClasse$composer.lsClasse}"
                    mold="rounded" buttonVisible="true" width="90%" />
                </row>
                <row>
                    <label value="${c:l('label.alias')}"/>
                    <combobox id="cmbAlias" 
                    	use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                        model="@{winBusquedaAliasClasse$composer.lsClasse}"
                        mold="rounded" buttonVisible="true" width="90%"/>                    
                </row>
				<row>
					<label value="${c:l('label.orgaoConcedente')}" />
					<combobox id="cmbOrgaoConcedente" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winBusquedaAliasClasse$composer.lsOrgaoConcedente}" 
						mold="rounded" buttonVisible="true" width="90%" />
				</row>
                
				
			</rows>
		</grid>

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

		<paging id="pagingAliasClasse" pageSize="15" />
		<listbox id="aliasClasseList"
			use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
			multiple="false">
			<listhead sizable="true">
				<listheader width="5%" image="/gui/img/builder.gif"
					label="${c:l('busquedaAliasClasseController.lbId.label')}"
					sort="auto(aliasClasseId)" />
				<listheader image="/gui/img/builder.gif"
					label="${c:l('label.classe')}"
					sort="auto(classe.descclase)" />
				<listheader image="/gui/img/builder.gif"
					label="${c:l('label.alias')}"
					sort="auto(alias.descclase())" />
				<listheader image="/gui/img/builder.gif"
					label="${c:l('label.orgaoConcedente')}"
					sort="auto(orgaoConcedente.descorgao)" />				
			</listhead>
		</listbox>
	</window>
</zk>
