julio 2017-03-13 17:46:20 +00:00
parent 8a469433f6
commit f1af7a8615
2 changed files with 8 additions and 6 deletions

View File

@ -236,6 +236,10 @@ public class EditarCatalogoDeRutaController extends MyGenericForwardComposer
if (resp == Messagebox.YES) {
if (rutaService.cambiarParadaRuta(ruta, parada, nuevaParada)) {
ruta = rutaService.obtenerID(ruta.getRutaId());
carregarParadaSecuencia(ruta.getRutaSecuenciaList());
Messagebox.show(
Labels.getLabel("editarCatalogoDeRutaController.actionCanbiarParada.sucesso"),
Labels.getLabel("editarEmpresaController.window.title"),

View File

@ -13,8 +13,6 @@ import com.rjconsultores.ventaboletos.entidad.ParadaSecuencia;
import com.rjconsultores.ventaboletos.entidad.Via;
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
/**
*
* @author Rafius
@ -49,7 +47,7 @@ public class RenderCatalogoDeRutasSecuencia implements ListitemRenderer {
lc = new Listcell("");
}
lc.setParent(lstm);
String casetas = ps.getCasetasTxt();
if (via != null) {
lc = new Listcell(casetas);
@ -57,12 +55,12 @@ public class RenderCatalogoDeRutasSecuencia implements ListitemRenderer {
lc = new Listcell("");
}
lc.setParent(lstm);
lc = new Listcell((ps.getKmReal() == null) ? "" : ps.getKmReal());
lc.setParent(lstm);
lc = new Listcell((ps.getTempoReal() == null) ? "" : ps.getTempoReal());
lc.setParent(lstm);
lc.setParent(lstm);
lstm.setAttribute("data", ps);
}