thiago.penido 2015-08-26 17:48:58 +00:00
parent 824797a0fe
commit ba05c75cc9
3 changed files with 5 additions and 5 deletions

View File

@ -16,9 +16,9 @@ public class RenderCasetaPeaje implements ListitemRenderer {
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(cp.getDesccaseta() != null ? cp.getDesccaseta() : ""); lc = new Listcell(cp.getDesccaseta() != null ? cp.getDesccaseta() : "");
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(cp.getImporteIda() != null ? cp.getImporteIda().toString() : ""); lc = new Listcell(cp.getImporteIda() != null ? cp.getImporteIda().toString().replace(".", ",") : "");
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(cp.getImporteVuelta() != null ? cp.getImporteVuelta().toString() : ""); lc = new Listcell(cp.getImporteVuelta() != null ? cp.getImporteVuelta().toString().replace(".", ",") : "");
lc.setParent(lstm); lc.setParent(lstm);
} }

View File

@ -33,7 +33,7 @@ public class RenderOrgaoConcedente implements ListitemRenderer {
lc.setParent(lstm); lc.setParent(lstm);
if(orgaoConcedente != null && orgaoConcedente.getIndicePeaje() != null) { if(orgaoConcedente != null && orgaoConcedente.getIndicePeaje() != null) {
lc = new Listcell(orgaoConcedente.getIndicePeaje().toString()); lc = new Listcell(orgaoConcedente.getIndicePeaje().toString().replace(".", ","));
} else { } else {
lc = new Listcell("0,0"); lc = new Listcell("0,0");
} }

View File

@ -63,9 +63,9 @@
</row> </row>
<row> <row>
<label value="${c:l('busquedaOrgaoConcedenteController.indicePeaje.label')}" /> <label value="${c:l('busquedaOrgaoConcedenteController.indicePeaje.label')}" />
<textbox id="txtIndicePeaje" mold="rounded" constraint="no empty, no negative " <textbox id="txtIndicePeaje" maxlength="8" mold="rounded" constraint="no empty, no negative, /[0-9]+(\,[0-9][0-9]?)?/ "
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="0.0" /> value="0,0" />
</row> </row>
</rows> </rows>
</grid> </grid>