geologDao.saveOrUpdate(getGeolog());
return new ForwardResolution("/WEB-INF/jsp/datePersonale.jsp");
}
public Resolution submit() {
IGeologDao geologDao = new GeologDao();
Geolog g;
int i;
if (getValidareR() != null) {
for (i = 0; i < getValidareR().size(); i++) {
g = geologDao.getGeologByID(Integer.parseInt(getValidareR().get(i).toString()));
g.setConfirmare("acceptat");
geologDao.saveOrUpdate(g);
}
}
if (getRefuzareR() != null) {
for (i = 0; i < getRefuzareR().size(); i++) {
g = geologDao.getGeologByID(Integer.parseInt(getRefuzareR().get(i).toString()));
g.setConfirmare("refuzat");
geologDao.saveOrUpdate(g);
}
}
// pt popularea listei pt stergere
geologiPtStergere = geologDao.getGeologiPtStergere();
return new ForwardResolution("/WEB-INF/jsp/stergereConturiGeologi.jsp");
}