public void selecionarFunc() { try { this.funcionario = service.findById(getFuncionarioSel().getFunId()); } catch (ApplicationMessageException e) { FacesUtils.error(e.getMessage()); } FacesUtils.clearForm(); }
public void insert() { this.funcionario = new Funcionario(); this.funcionarioSel = new Funcionario(); this.numSeq = 1; FacesUtils.clearForm(); }