gleimar 2013-02-14 20:25:33 +00:00
parent a9a29d9d8d
commit 796edc5c94
4 changed files with 564 additions and 576 deletions

View File

@ -24,7 +24,6 @@ public class RenderCategoriaDescuento implements ListitemRenderer {
private CategoriaCtrlService categoriaCtrlService;
public void render(Listitem lstm, Object o) throws Exception {
CategoriaCtrl cc = (CategoriaCtrl) o;
String descricao = "";
Listcell lc = new Listcell(cc.getCategoriactrlId().toString());
lc.setParent(lstm);
@ -47,13 +46,12 @@ public class RenderCategoriaDescuento implements ListitemRenderer {
lc.setParent(lstm);
if(!cc.getCategoriaDescuentoList().isEmpty()){
sb = new StringBuilder();
for(CategoriaDescuento catDesc : cc.getCategoriaDescuentoList()){
descricao = descricao + catDesc.getCategoria() != null ? catDesc.getCategoria().getDesccategoria() : "0"+ ", ";
sb.append(catDesc.getCategoria()).append(", ");
}
descricao = descricao.substring(0,descricao.length()-1);
lc = new Listcell(descricao);
lc = new Listcell(sb.toString());
lc.setParent(lstm);
}

View File

@ -7,7 +7,7 @@
# <controler>. <id>. <propiedade> = XXX
#Versao do VentaBoleto:
versao = ADM_20130214_1RC109
versao = ADM_20130214_1RC110
# MSG Defaut:
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100

View File

@ -116,19 +116,14 @@
<rows>
<row>
<label value="${c:l('editarUsuarioController.lhParada.label')}"/>
<hbox>
<combobox id="cmbParada"
mold="rounded" buttonVisible="true" width="100%"
<combobox id="cmbParada" mold="rounded" buttonVisible="true" width="100%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"/>
</hbox>
</row>
<row>
<label value="${c:l('editarUsuarioController.lhPuntoVenta.label')}"/>
<hbox>
<combobox id="cmbPuntoVenta"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="100%" />
</hbox>
<combobox id="cmbPuntoVenta" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="100%" />
</row>
</rows>
</grid>