Rev 1409 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1409 | 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" %> |
||
1426 | jmachado | 5 | <%@ page import="pt.estgp.estgweb.web.form.questionarios.QuestionarioMessage" %> |
1409 | jmachado | 6 | <% |
7 | String qId = request.getParameter("questionarioId"); |
||
8 | if(qId == null) |
||
9 | qId = request.getParameter("questionario.id"); |
||
1426 | jmachado | 10 | if(qId==null) |
11 | { |
||
12 | QuestionarioMessage questionarioMessage = (QuestionarioMessage) request.getAttribute("QuestionarioMessage"); |
||
13 | if(questionarioMessage != null) |
||
14 | { |
||
15 | qId = "" + questionarioMessage.getQuestionarioId(); |
||
16 | } |
||
17 | } |
||
1409 | jmachado | 18 | Long questionarioId = Long.parseLong(qId); |
19 | |||
20 | |||
21 | TopNav topNav = NavPlaceServer.getInstance().createTopNav(request); |
||
22 | topNav.addNavPlace("/user/homePae.do", "intranet.separator.home.back"); |
||
23 | topNav.addNavPlace("/user/seeQuestionarios.do", "surveys"); |
||
24 | topNav.addNavPlace(null, "survey.see",""+questionarioId); |
||
25 | %> |
||
26 | <jsp:include page="/layout/topnav.jsp"/> |