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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarConfiguracaoCodBarras"
		title="${c:l('editarConfiguracaoCodBarrasController.title')}"
		apply="${editarConfiguracaoCodBarrasController}" border="normal"
		contentStyle="overflow:auto"
		width="500px" height="190px">

		<toolbar>
			<button id="btnSalvar" image="/gui/img/save.png"
				width="35px"
				tooltiptext="${c:l('editarConfiguracaoCodBarrasController.btnSalvar.tooltiptext')}" />
			<separator orient="vertical" />	
			<button id="btnApagar" image="/gui/img/remove.png"
				width="35px"
				tooltiptext="${c:l('editarConfiguracaoCodBarrasController.btnApagar.tooltiptext')}" />
			<separator orient="vertical" />
			<button id="btnCerrar"
				onClick="winEditarConfiguracaoCodBarras.detach()"
				image="/gui/img/exit.png" width="38px"
				tooltiptext="${c:l('editarConfiguracaoCodBarrasController.btnCerrar.tooltiptext')}" />
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="80%" />
			</columns>

			<rows>
				<row>
					<label
						value="${c:l('editarConfiguracaoCodBarrasController.empresa')}" />
					<combobox id="cmbEmpresa" width="100%"
						constraint="no empty"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
						mold="rounded" buttonVisible="true"
						model="@{winEditarConfiguracaoCodBarras$composer.lsEmpresa}" />
				</row>

				<row>
					<label
						value="${c:l('editarConfiguracaoCodBarrasController.parada')}" />
					<combobox id="cmbParada" width="100%"
						constraint="no empty"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" buttonVisible="true" />
				</row>

				<row>
					<label
						value="${c:l('editarConfiguracaoCodBarrasController.empresaRod')}" />
					<textbox id="txtEmpresaRodID" width="98%"
						constraint="no empty,/^[0-9]+$/"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>

				<row>
					<label
						value="${c:l('editarConfiguracaoCodBarrasController.sequencia')}" />
					<textbox id="txtSequenciaRod" width="98%"
						constraint="no empty,/^[0-9]+$/"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
			</rows>
		</grid>
	</window>
</zk>