Rev 995 | Rev 1027 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 995 | Rev 1024 | ||
---|---|---|---|
Line 211... | Line 211... | ||
211 | <jsp:include page="/user/home/courseUnitsAnnouncements.jsp"/> |
211 | <jsp:include page="/user/home/courseUnitsAnnouncements.jsp"/> |
212 | </baco:isModuleOn> |
212 | </baco:isModuleOn> |
213 | <baco:isModuleOn module="todos"> |
213 | <baco:isModuleOn module="todos"> |
214 | <jsp:include page="/user/home/todos.jsp"/> |
214 | <jsp:include page="/user/home/todos.jsp"/> |
215 | </baco:isModuleOn> |
215 | </baco:isModuleOn> |
- | 216 | ||
- | 217 | <% |
|
- | 218 | try{ |
|
- | 219 | HibernateUtils.getCurrentSession().beginTransaction(); |
|
- | 220 | List<CourseUnit> result = DaoFactory.getCourseUnitDaoImpl().loadTeacherUnitsMissingEvaluation(UserSession); |
|
- | 221 | if(result.size() > 0 ) |
|
- | 222 | { |
|
- | 223 | %> |
|
- | 224 | <div class="block"> |
|
- | 225 | <p class="WARNING"><label class="WARNING"> Tarefas Docente Relativas a Unidades</label></p> |
|
- | 226 | <h1>Relatórios de avaliação por preencher/entregar</h1> |
|
- | 227 | <ul> |
|
- | 228 | <% |
|
- | 229 | for(CourseUnit cu: result) |
|
- | 230 | { |
|
- | 231 | %> |
|
- | 232 | <li><a href="<%=request.getContextPath()%>/user/startLoadCourseUnitEvaluation.do?courseUnitId=<%=cu.getId()%>"><%=cu.getImportYear()%> / <%=cu.getName()%> / <%=cu.getCode()%></a></li> |
|
- | 233 | <% |
|
- | 234 | } |
|
- | 235 | %> |
|
- | 236 | </ul> |
|
- | 237 | </div> |
|
- | 238 | <% |
|
- | 239 | } |
|
- | 240 | HibernateUtils.getCurrentSession().getTransaction().commit(); |
|
- | 241 | }catch(Throwable e) |
|
- | 242 | { |
|
- | 243 | System.out.println(e); |
|
- | 244 | e.printStackTrace(); |
|
- | 245 | } |
|
- | 246 | %> |
|
- | 247 | ||
- | 248 | ||
216 | <% |
249 | <% |
217 | try{ |
250 | try{ |
218 | HibernateUtils.getCurrentSession().beginTransaction(); |
251 | HibernateUtils.getCurrentSession().beginTransaction(); |
219 | List<CourseUnitDaoImpl.CourseMissingValidationProgram> result = DaoFactory.getCourseUnitDaoImpl().loadMissingProgramValidate(UserSession); |
252 | List<CourseUnitDaoImpl.CourseMissingValidationProgram> result = DaoFactory.getCourseUnitDaoImpl().loadMissingProgramValidate(UserSession); |
220 | List<CourseUnitDaoImpl.CourseMissingValidationEvaluation> result2 = DaoFactory.getCourseUnitDaoImpl().loadMissingEvaluationValidate(UserSession); |
253 | List<CourseUnitDaoImpl.CourseMissingValidationEvaluation> result2 = DaoFactory.getCourseUnitDaoImpl().loadMissingEvaluationValidate(UserSession); |