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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarFormAutorizacao" border="normal"
		apply="${editarFormAutorizacaoController}" width="1000px" height="457x"
		contentStyle="overflow:auto"
		title="${c:l('editarFormAutorizacaoController.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('editarCategoriaController.btnApagar.tooltiptext')}" />
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarCategoriaController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarFormAutorizacao.detach()"
					tooltiptext="${c:l('editarCategoriaController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>
		<grid fixedLayout="true">
			<columns>
				<column width="25%" />
				<column width="75%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('editarCategoriaController.lbEmpresa.value')}" />
					<combobox id="cmbEmpresa" buttonVisible="true"
						constraint="no empty"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarFormAutorizacao$composer.lsEmpresa}" width="50%" 
						selectedItem="@{winEditarFormAutorizacao$composer.form.empresa}"/>
				</row>
			</rows>
		</grid>
		<ckeditor id="textoAutorizacao"
			value="@{winEditarFormAutorizacao$composer.form.texto}"
			width="100%">
		</ckeditor>
	</window>
</zk>
