0010992: Item 11 - Funcionalidade perfil
fixes bug#10992 dev:daniel qua:marcelo Ao salvar o perfil sem clicar em somente leitura o campo de ficava nulo, atrapalhando a funcionalidade de travar os botões, foi alterado para setar o valor e criado um UPDATE no flyWay(V20180502_1355__mantis10992) para atualizar os usuários antigos com valores nulos. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@81544 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ef889bca7c
commit
855c31f8df
|
@ -57,6 +57,10 @@ public class RenderPermisoSelecao implements ListitemRenderer {
|
||||||
lc = new Listcell();
|
lc = new Listcell();
|
||||||
|
|
||||||
boolean indLectura = permiso.getIndLectura() == null ? true : permiso.getIndLectura();
|
boolean indLectura = permiso.getIndLectura() == null ? true : permiso.getIndLectura();
|
||||||
|
|
||||||
|
// Estava ficando null quando não era clicado na tela - set no valor
|
||||||
|
permiso.setIndLectura(indLectura);
|
||||||
|
|
||||||
if (indLectura) {
|
if (indLectura) {
|
||||||
radReadOnly.setChecked(Boolean.TRUE);
|
radReadOnly.setChecked(Boolean.TRUE);
|
||||||
}
|
}
|
||||||
|
@ -86,7 +90,6 @@ public class RenderPermisoSelecao implements ListitemRenderer {
|
||||||
|
|
||||||
lc.setParent(lstm);
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
|
||||||
lstm.setAttribute("data", permiso);
|
lstm.setAttribute("data", permiso);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue