Rev 1337 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1326 | jmachado | 1 | <%@page contentType="text/html"%> |
2 | <%@page pageEncoding="UTF-8"%> |
||
3 | <%@page import="jomm.web.utils.NavPlaceServer"%> |
||
4 | <%@ page import="jomm.web.utils.TopNav" %> |
||
1327 | jmachado | 5 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioImpl" %> |
6 | <%@ page import="pt.estgp.estgweb.web.utils.RequestUtils" %> |
||
7 | <%@ page import="pt.utl.ist.berserk.logic.serviceManager.IServiceManager" %> |
||
8 | <%@ page import="pt.utl.ist.berserk.logic.serviceManager.ServiceManager" %> |
||
1326 | jmachado | 9 | <% |
1337 | jmachado | 10 | String qId = request.getParameter("questionarioId"); |
11 | if(qId == null) |
||
12 | qId = request.getParameter("questionario.id"); |
||
13 | Long questionarioId = Long.parseLong(qId); |
||
14 | |||
1327 | jmachado | 15 | IServiceManager sm = ServiceManager.getInstance(); |
16 | String[] names = {"questionarioId"}; |
||
17 | Object[] args = {questionarioId}; |
||
18 | QuestionarioImpl questionario = (QuestionarioImpl) sm.execute(RequestUtils.getRequester(request, response),"loadQuestionarioAdmin",args,names); |
||
19 | |||
20 | |||
1326 | jmachado | 21 | TopNav topNav = NavPlaceServer.getInstance().createTopNav(request); |
1329 | jmachado | 22 | topNav.addNavPlace("/user/homePae.do", "intranet.separator.home.back"); |
1346 | jmachado | 23 | topNav.addNavPlace("/user/listQuestionarios.do", "surveys"); |
24 | topNav.addNavPlace("/user/adminQuestionario.do?questionario.id=" + questionarioId, "survey.admin",""+questionarioId); |
||
1327 | jmachado | 25 | topNav.addNavPlace(null, "questionarios.choose.courses",questionario.getSemestre(),questionario.getYear()); |
1326 | jmachado | 26 | %> |
27 | <jsp:include page="/layout/topnav.jsp"/> |