1617181920212223242526
private CursoRN rn = new CursoRN(); @Override public Object getAsObject(FacesContext fc, UIComponent uic, String string) { Curso curso = null; try { curso = rn.buscar(Integer.valueOf(string)); } catch (Exception e) { System.out.println(e); }
14151617181920
public CursoRN() { } public Curso novo() { return new Curso(); }