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

<zk xmlns="http://www.zkoss.org/2005/zul">
    <window id="winEditarPricingMercado" border="normal"
            apply="${editarPricingMercadoController}" position=""
            width="600px"  height="557x" contentStyle="overflow:auto"
            title="${c:l('editarPricingController.windowMercado.title')}">
        <toolbar>
            <hbox spacing="5px" style="padding:1px" align="right">
                <!--button id="btnRemoverMercado" height="20"
                        image="/gui/img/remove.png" width="35px"
                        tooltiptext="${c:l('editarPricingMercadoController.btnApagar.tooltiptext')}"/-->
                <button id="btnAdicionarMercado" disabled="${arg.isReadOnly}" height="20"
                        image="/gui/img/save.png" width="35px"
                        tooltiptext="${c:l('editarPricingMercadoController.btnSalvar.tooltiptext')}"/>
                <button height="20"
                        image="/gui/img/exit.png" width="35px"
                        onClick="winEditarPricingMercado.detach()"
                        tooltiptext="${c:l('editarPricingMercadoController.btnFechar.tooltiptext')}"/>
            </hbox>
        </toolbar>

        <grid fixedLayout="true">
            <columns>
                <column width="30%" />
                <column width="70%" />
            </columns>
            <rows>
                <row>
                    <label value="${c:l('editarPricingController.mercadoOrigen.value')}"/>
                    <combobox id="cmbOrigen" autodrop="false" constraint="no empty" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
                                    mold="rounded" buttonVisible="true" width="90%" 
                                     />
                <!-- selectedItem="@{winEditarPricingMercado$composer.pricingMercado.origen}" -->
                </row>
                <row>
                    <label value="${c:l('editarPricingController.mercadoDestino.value')}"/>
                    <combobox id="cmbDestino" autodrop="false" constraint="no empty" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
                                    mold="rounded" buttonVisible="true" width="90%"
                                    />
                <!-- selectedItem="@{winEditarPricingMercado$composer.pricingMercado.destino}"  -->
                </row>
            </rows>
        </grid>

    </window>
</zk>
