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();
|
||||
cmbTipoConta.getValue();
|
||||
cmbPosicao.getValue();
|
||||
cmbPuntoVentaPadre.getValue(true);
|
||||
|
||||
if(puntoVenta.getPuntoVentaPadre() == null && !cmbPuntoVentaPadre.getValue().isEmpty()){
|
||||
cmbPuntoVentaPadre.getValue(true);
|
||||
}
|
||||
|
||||
// checar uma forma onde o proprio componente coloque como null o atributo
|
||||
if (cmbPuntoVentaPadre.getSelectedItem() == null) {
|
||||
if (cmbPuntoVentaPadre.getValue().isEmpty()) {
|
||||
puntoVenta.setPuntoVentaPadre(null);
|
||||
}
|
||||
List<PuntoVenta> lsPuntoVenta = puntoVentaService.buscaPuntoVenta(txtNumPtoVta.getValue());
|
||||
|
|
Loading…
Reference in New Issue