rafael.henrique 2017-10-24 18:50:50 +00:00
parent 56e485f058
commit 3933692e6e
2 changed files with 14 additions and 2 deletions

View File

@ -10,6 +10,9 @@ import com.rjconsultores.ventaboletos.entidad.Marca;
import com.rjconsultores.ventaboletos.entidad.Moneda;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.PricingEspecifico;
import com.rjconsultores.ventaboletos.entidad.PricingEspecificoAgencia;
import com.rjconsultores.ventaboletos.entidad.PricingEspecificoCanalVendas;
import com.rjconsultores.ventaboletos.entidad.PricingEspecificoOcupacion;
import com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta;
import com.rjconsultores.ventaboletos.service.CategoriaService;
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
@ -23,6 +26,8 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPricingEspecifico;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -113,7 +118,13 @@ public class BusquedaPricingEspecificoController extends MyGenericForwardCompose
}
public void onClick$btnNovo(Event ev) {
verPricing(new PricingEspecifico());
PricingEspecifico pricingEspecifico = new PricingEspecifico();
pricingEspecifico.setPricingEspecificoAgenciasList(new ArrayList<PricingEspecificoAgencia>());
pricingEspecifico.setPricingEspecificoCanalVendasList(new ArrayList<PricingEspecificoCanalVendas>());
pricingEspecifico.setPricingEspecificoOcupacionsList(new ArrayList<PricingEspecificoOcupacion>());
verPricing(pricingEspecifico);
}
private void refreshLista() {

View File

@ -8,7 +8,8 @@
<window id="winBusquedaPricingEspecifico" border="normal"
apply="${busquedaPricingEspecificoController}"
height="450px" width="950px" contentStyle="overflow:auto"
title="${c:l('busquedaPricingEspecificoController.window.title')}">
title="${c:l('busquedaPricingEspecificoController.window.title')}"
xmlns:h="http://www.w3.org/1999/xhtml">
<toolbar>
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"