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

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

		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label id="lbNome"
						value="${c:l('editarCoeficienteTarifaController.lbNome.value')}" />
					<textbox id="txtNome" constraint="no empty"
						width="98%" maxlength="20"
						value="@{winEditarCoeficienteTarifa$composer.coeficienteTarifa.descCoeficiente}"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
				<row>
					<label
						value="${c:l('editarCoeficienteTarifaController.coeficiente.value')}" />
					<textbox id="txtCoeficiente"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
						precision="14" scale="9" constraint="no empty" width="50%" />
				</row>
			</rows>
		</grid>
	</window>
</zk>
