Conclusão mantis 6966

fixes bug 6966

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@51531 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago.penido 2015-12-28 12:22:28 +00:00
parent 04c1ed72ee
commit de7a88095a
2 changed files with 16 additions and 2 deletions

View File

@ -5,6 +5,8 @@
package com.rjconsultores.ventaboletos.web.utilerias.render;
import com.rjconsultores.ventaboletos.entidad.Ruta;
import org.zkoss.util.resource.Labels;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer;
@ -27,6 +29,12 @@ public class RenderCatalogoDeRutas implements ListitemRenderer {
lc = new Listcell((ruta.getClaseServicio() == null) ? "" : ruta.getClaseServicio().getDescclase());
lc.setParent(lstm);
lc = new Listcell(ruta.getNumRuta());
lc.setParent(lstm);
lc = new Listcell(ruta.getIndSentidoIda() == true ? Labels.getLabel("editarCatalogoDeRutaController.radIda.value") : Labels.getLabel("editarCatalogoDeRutaController.radVolta.value"));
lc.setParent(lstm);
lc = new Listcell(ruta.getPrefixo());
lc.setParent(lstm);

View File

@ -92,7 +92,13 @@
label="${c:l('lb.dec')}" sort="auto(descruta)" />
<listheader image="/gui/img/builder.gif"
label="${c:l('busquedaCatalogoDeRutaController.lhClase.label')}"
sort="auto(claseServicio.descclase)" />
sort="auto(claseServicio.descclase)" />
<listheader image="/gui/img/builder.gif"
label="${c:l('editarCatalogoDeRutaController.lblNumRuta.value')}"
sort="auto(numRuta)" />
<listheader image="/gui/img/builder.gif"
label="${c:l('editarCatalogoDeRutaController.lbSentidoLinha.value')}"
sort="auto(indSentidoIda)" />
<listheader image="/gui/img/builder.gif"
label="${c:l('editarCatalogoDeRutaController.lbPrefixo.value')}"
sort="auto(prefixo)" />
@ -102,4 +108,4 @@
</listhead>
</listbox>
</window>
</zk>
</zk>