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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarAliasClasse" border="normal"
		apply="${editarAliasClasseController}" width="500px"
		contentStyle="overflow:auto"
		title="${c:l('editarAliasClasseController.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('tooltiptext.btnApagar')}" />
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px" 
					tooltiptext="${c:l('tooltiptext.btnSalvar')}" />
				<button id="btnCerrar"
					onClick="winEditarAliasClasse.detach()" image="/gui/img/exit.png"
					width="35px"
					tooltiptext="${c:l('tooltiptext.btnFechar')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="35%" />
				<column width="65%" />
			</columns>
			<rows>				
				<row>					
                    <label value="${c:l('label.classe')}" width="50%"/>
                    <combobox id="cmbClasse" 
                    	use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" 
                    	model="@{winEditarAliasClasse$composer.lsClasse}"
                    	mold="rounded" buttonVisible="true" 
                    	constraint="no empty" width="55%" 
                    	initialValue="@{winEditarAliasClasse$composer.aliasClasse.classe}"
						selectedItem="@{winEditarAliasClasse$composer.aliasClasse.classe}" />
				 									
				
                </row>
                <row>
                	
                    <label value="${c:l('label.alias')}"/>                                        
					<hlayout>
                    <combobox id="cmbAlias" 
                    	use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                        model="@{winEditarAliasClasse$composer.lsClasse}"
                        mold="rounded" buttonVisible="true" 
                        constraint="no empty" width="90%"
                        initialValue="@{winEditarAliasClasse$composer.aliasClasse.alias}"
						selectedItem="@{winEditarAliasClasse$composer.aliasClasse.alias}"/>     
				<image src="/gui/img/Question_mark_1.png" tooltiptext="${c:l('editarAliasClasseController.lbAlias.help')}"   style="cursor: help" />		
					</hlayout>	               
                </row>
				<row>

					<label value="${c:l('label.orgaoConcedente')}" />
					<combobox id="cmbOrgaoConcedente" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarAliasClasse$composer.lsOrgaoConcedente}" 
						mold="rounded" buttonVisible="true" 
						constraint="no empty" width="55%"
						initialValue="@{winEditarAliasClasse$composer.aliasClasse.orgaoConcedente}"
						selectedItem="@{winEditarAliasClasse$composer.aliasClasse.orgaoConcedente}" />
				</row>
				<row>
					<label
						value="${c:l('relatorioAidfDetalhadoController.lbEmpresa.value')}" />
					<combobox id="cmbEmpresa" 
						buttonVisible="true" 
						mold="rounded" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarAliasClasse$composer.lsEmpresa}"
						initialValue="@{winEditarAliasClasse$composer.aliasClasse.empresa}"
						selectedItem="@{winEditarAliasClasse$composer.aliasClasse.empresa}" 
						width="55%" />

				</row>
				<row>
					<label
						value="${c:l('lb.filtro.linha')}" />
					<combobox id="cmbRuta" 
						buttonVisible="true" 
						mold="rounded" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						initialValue="@{winEditarAliasClasse$composer.aliasClasse.ruta}"
						selectedItem="@{winEditarAliasClasse$composer.aliasClasse.ruta}" 
						model="@{winEditarAliasClasse$composer.lsRuta}"
						width="55%" />

				</row>
				<row>
					<label
						value="${c:l('editarAliasServicoController.tipoClasseConfortoMonitrip.classeConfortoMonitrip')}" />
					<hlayout>
					<combobox id="cmbClasseServicioConforto" 
						buttonVisible="true" 
						mold="rounded" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarAliasClasse$composer.lsClasseServicoConfortoMonitrip}"
						initialValue="@{winEditarAliasClasse$composer.aliasClasse.classeConfortoMonitrip}"
						selectedItem="@{winEditarAliasClasse$composer.aliasClasse.classeConfortoMonitrip}"
						tooltiptext="${c:l('editarAliasServicoController.tooltiptext.indSomenteImpressao')}"
						width="90%" />
						<image src="/gui/img/Question_mark_1.png" tooltiptext="${c:l('editarAliasClasseController.lbClasseConforto.help')}"   style="cursor: help" />		
					</hlayout>	
				</row>
				<row>
				<label
						value="${c:l('editarAliasServicoController.indSomenteImpressao')}" />
				<hlayout>	
					<checkbox id="chkSomenteImpressao"
						value="@{winEditarAliasClasse$composer.aliasClasse.indSomenteImpressao}" />
						<image src="/gui/img/Question_mark_1.png" tooltiptext="${c:l('editarAliasClasseController.lbSomenteImpressao.help')}"   style="cursor: help" />		
					</hlayout>	
				</row>
				<row>
					<label
						value="${c:l('label.descricao')}" />
					<textbox id="txtMensagem"
						maxlength="150" width="90%" rows="6" 
						value="@{winEditarAliasClasse$composer.aliasClasse.mensagem}" />

				</row>
			</rows>
		</grid>
	</window>
</zk>
