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

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

		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label id="lbNomitemdesconto"
						value="${c:l('editarItemDescontoController.lbNomitemdesconto.value')}" />
					<textbox id="txtNomitemdesconto"
					 constraint="no empty"
						  width="98%"
					  maxlength="20"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
				<row>
					<label value="${c:l('editarItemDescontoController.lbPreco.value')}" />
					<textbox id="txtPreco"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
					  precision="7"
					  	  scale="2"
					 constraint="no empty"
					 	  width="50%" />
				</row>
			</rows>
		</grid>
	</window>
</zk>
