From 3933692e6e766e7cd003595156f8c689e528a3f3 Mon Sep 17 00:00:00 2001 From: "rafael.henrique" Date: Tue, 24 Oct 2017 18:50:50 +0000 Subject: [PATCH] fixes bug#9980 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@75639 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../BusquedaPricingEspecificoController.java | 13 ++++++++++++- web/gui/pricing/busquedaPricingEspecifico.zul | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/BusquedaPricingEspecificoController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/BusquedaPricingEspecificoController.java index 7b04d40f7..68ae035c3 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/BusquedaPricingEspecificoController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/BusquedaPricingEspecificoController.java @@ -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()); + pricingEspecifico.setPricingEspecificoCanalVendasList(new ArrayList()); + pricingEspecifico.setPricingEspecificoOcupacionsList(new ArrayList()); + + verPricing(pricingEspecifico); } private void refreshLista() { diff --git a/web/gui/pricing/busquedaPricingEspecifico.zul b/web/gui/pricing/busquedaPricingEspecifico.zul index f50fcd79b..51706adaa 100644 --- a/web/gui/pricing/busquedaPricingEspecifico.zul +++ b/web/gui/pricing/busquedaPricingEspecifico.zul @@ -8,7 +8,8 @@ + title="${c:l('busquedaPricingEspecificoController.window.title')}" + xmlns:h="http://www.w3.org/1999/xhtml">