public void carregarRegistro(ActionEvent evento) {
final String id = ((HtmlActionParameter)((HtmlAjaxCommandButton)evento.getSource()).getChildren().get(0)).getValue().toString();
int idCargo = Integer.parseInt(id);
final Cargo cargo = this.getDao().obterPorId(idCargo);
this.getCargo().setIdCargo(cargo.getIdCargo());
this.getCargo().setNomeCargo(cargo.getNomeCargo());
}