3132333435363738
@PostConstruct public void init(){ daoPeriod = DAOPeriod.getInstance(); setPeriodList(daoPeriod.find().asList()); setPeriodItem(new Period()); /*periodDataModel = new PeriodDataModel(getPeriodList());*/ }
90919293949596
public void edit (){ daoPeriod.save(periodItem); setPeriodList(daoPeriod.find().asList()); //resetDialog(); //resetTabla(); periodItem = new Period(); }
99100101102103104105
public void add (){ daoPeriod.save(periodItem); setPeriodList(daoPeriod.find().asList()); //resetDialog(); //resetTabla(); periodItem = new Period(); }