no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@171 bb69d46d-e84e-40c8-a05a-06db0d633741
lxbfYeaa
Frederico Palma 21 years ago
parent d74bb10448
commit 81cea1c057

@ -392,12 +392,15 @@ public class EmpresaPanel extends JPanel
// }
String names[] = empresa.getFieldNames();
Hashtable hash = new Hashtable();
// String names[] = new String[]{ EmpresaData.DESIGNACAO_SOCIAL, EmpresaData.SERVICO_SAUDE_TIPO,
// EmpresaData.SERVICO_SAUDE_DESIGNACAO, EmpresaData.SERVICO_HIGIENE_TIPO,
// EmpresaData.SERVICO_HIGIENE_DESIGNACAO };
Hashtable hash = empresa.getHashData();
ComponentController.save( names, hash, empresaComponents );
empresa.setHashData( hash );
names = estabelecimento.getFieldNames();
hash = new Hashtable();
hash = estabelecimento.getHashData();
ComponentController.save( names, hash, estabelecimentoComponents );
estabelecimento.setHashData( hash );
estabelecimento.set( EstabelecimentoData.EMPRESA, empresa );

@ -356,7 +356,7 @@ public class TrabalhadorPanel extends JPanel
// trabalhador.setProperty( name, hash.get( name ) );
// }
String names[] = trabalhador.getFieldNames();
Hashtable hash = new Hashtable();
Hashtable hash = trabalhador.getHashData();
ComponentController.save( names, hash, components );
trabalhador.setHashData( hash );
// if( ((String)trabalhador.getProperty( FichaDataProvider.NOME )).trim().length() == 0 )

Loading…
Cancel
Save