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

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

        <grid fixedLayout="true">
            <columns>
                <column width="40%" />
                <column width="60%" />
            </columns>
            <rows>
                <row>
                    <label value="${c:l('editarParamCostoTarjetaController.Empresa.value')}"/>
                    <combobox id="cmbEmpresa" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"  constraint="no empty"
                                    mold="rounded" buttonVisible="true" width="90%"
                                    model="@{winEditarParamCostoTarjeta$composer.lsEmpresa}"
                                    selectedItem="@{winEditarParamCostoTarjeta$composer.paramCostoTarjeta.empresa}"/>
                </row>
                <row>
                    <label value="${c:l('editarParamCostoTarjetaController.Precio.value')}"/>
                    <textbox id="vlrInicial" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" precision="7" scale="2" constraint="no empty"
                    value="@{winEditarParamCostoTarjeta$composer.paramCostoTarjeta.valcostoinicial,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}"/>
          
                </row>
            </rows>
        </grid>
    </window>
</zk>
