Bug corrigido (fixes bug #5287)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@35592 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2e30a68450
commit
0486f328a6
|
@ -810,10 +810,13 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
cmbPessoa.getValue();
|
cmbPessoa.getValue();
|
||||||
cmbTipoConta.getValue();
|
cmbTipoConta.getValue();
|
||||||
cmbPosicao.getValue();
|
cmbPosicao.getValue();
|
||||||
|
|
||||||
|
if(puntoVenta.getPuntoVentaPadre() == null && !cmbPuntoVentaPadre.getValue().isEmpty()){
|
||||||
cmbPuntoVentaPadre.getValue(true);
|
cmbPuntoVentaPadre.getValue(true);
|
||||||
|
}
|
||||||
|
|
||||||
// checar uma forma onde o proprio componente coloque como null o atributo
|
// checar uma forma onde o proprio componente coloque como null o atributo
|
||||||
if (cmbPuntoVentaPadre.getSelectedItem() == null) {
|
if (cmbPuntoVentaPadre.getValue().isEmpty()) {
|
||||||
puntoVenta.setPuntoVentaPadre(null);
|
puntoVenta.setPuntoVentaPadre(null);
|
||||||
}
|
}
|
||||||
List<PuntoVenta> lsPuntoVenta = puntoVentaService.buscaPuntoVenta(txtNumPtoVta.getValue());
|
List<PuntoVenta> lsPuntoVenta = puntoVentaService.buscaPuntoVenta(txtNumPtoVta.getValue());
|
||||||
|
|
Loading…
Reference in New Issue