Fixes bug #10175
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@77099 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d7004af6df
commit
cad03bfb89
|
@ -12,10 +12,8 @@ import org.zkoss.zk.ui.Executions;
|
|||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Textbox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Pricing;
|
||||
import com.rjconsultores.ventaboletos.entidad.PricingEspecifico;
|
||||
import com.rjconsultores.ventaboletos.service.PricingEspecificoService;
|
||||
import com.rjconsultores.ventaboletos.service.PricingService;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPricingVigencia
|
|||
*/
|
||||
@Controller("editarPricingController")
|
||||
@Scope("prototype")
|
||||
@SuppressWarnings("unused")
|
||||
public class EditarPricingController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -60,6 +60,7 @@ public class EditarPricingOcupaAntecipaAutomaticoController extends MyGenericFor
|
|||
private ConstraintPorcentagem ct;
|
||||
private static Logger log = Logger.getLogger(EditarPricingOcupaAntecipaController.class);
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
|
|
|
@ -81,7 +81,10 @@ public class EditarPricingOcupaAntecipaController extends MyGenericForwardCompos
|
|||
}
|
||||
|
||||
lsPricingOcupaAntecipa = pricingOcupaAntecipaService.updateList(pricingOcupaAntecipa);
|
||||
|
||||
if( !lsPricingOcupaAntecipa.isEmpty() ) {
|
||||
pricingOcupaAntecipaList.setData(lsPricingOcupaAntecipa);
|
||||
}
|
||||
|
||||
if (lsPricingOcupaAntecipa.contains(pricingOcupaAntecipa)) {
|
||||
pricingOcupaAntecipa = lsPricingOcupaAntecipa.get(lsPricingOcupaAntecipa.indexOf(pricingOcupaAntecipa));
|
||||
|
|
Loading…
Reference in New Issue