fixes bug #7930
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@66768 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
8a469433f6
commit
f1af7a8615
|
@ -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"),
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue