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

<zk xmlns="http://www.zkoss.org/2005/zul">
    <window id="winEditarCustom" border="normal"
            apply="${editarCustomController}"
            width="900px"  height="500x" contentStyle="overflow:auto"
            title="${c:l('editarArticuloController.window.title')}">
        <toolbar>
            <hbox spacing="3px" style="padding:1px" align="right">
                <button id="btnApagar" height="20"
                        image="/gui/img/remove.png" width="35px"
                        tooltiptext="${c:l('customController.btnApagar.tooltiptext')}"/>
                <button id="btnSalvar" height="20"
                        image="/gui/img/save.png" width="35px"
                        tooltiptext="${c:l('customController.btnSalvar.tooltiptext')}"/>
                <button id="btnFechar" height="20"
                        image="/gui/img/exit.png" width="35px"
                        onClick="winEditarCustom.detach()"
                        tooltiptext="${c:l('customController.btnFechar.tooltiptext')}"/>
                        <label id="lb2" value="${c:l('customController.MSG.modificar')}" style="color:red;font-size:15pt"/>
            </hbox>
        </toolbar>

        <grid fixedLayout="true">
            <columns>
                <column width="40%" />
                <column width="60%" />
            </columns>
            <rows>
             	<row>
                    <label id="lbSistema" value="${c:l('customController.sistema.value')}"/>
                    <combobox id="cmbSistema"
						mold="rounded" buttonVisible="true" width="300px"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarCustom$composer.lsSistemaEnum}" 
						 />
                </row>
                <row>
                    <label id="lbTipo" value="${c:l('customController.tipoCustom.value')}"/>
                    <combobox id="cmbTipo"
						mold="rounded" buttonVisible="true" width="300px"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarCustom$composer.lsTipoEnum}" 
						 />
                </row>
                <row>
                    <label id="lbChave" value="${c:l('customController.chave.value')}"/>
                    <textbox id="txtChave" constraint="no empty" width="500px" maxlength="100"
                             value="@{winEditarCustom$composer.custom.chave}"/>
                </row>
                 <row>
                    <label id="lbValor" value="${c:l('customController.valor.value')}"/>
                    <textbox id="txtValor" constraint="no empty" width="500px" maxlength="255"
                             value="@{winEditarCustom$composer.custom.valor}"/>
                </row>
            </rows>
        </grid>
    </window>
</zk>
