m2u-upass-admin / WebContent / template / menuBarMailBox.jsp @ 92:296cc47bd91b
History | View | Annotate | Download (2.38 KB)
1 |
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html" %> |
---|---|
2 |
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %> |
3 |
<%@ taglib uri="/WEB-INF/tld/struts-tiles" prefix="tiles" %> |
4 |
<%@ taglib uri="/WEB-INF/tld/c" prefix="c" %> |
5 |
|
6 |
<%@page import="java.util.HashMap"%> |
7 |
|
8 |
<% |
9 |
//notify is selected by default |
10 |
request.getSession().setAttribute("topLink2","notify"); |
11 |
|
12 |
if(request.getParameter("topLink2")!=null) |
13 |
{ |
14 |
request.getSession().setAttribute("topLink2",(String)request.getParameter("topLink2")); |
15 |
} |
16 |
|
17 |
HashMap paramsName = new HashMap(); |
18 |
paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
19 |
|
20 |
pageContext.setAttribute("paramsName", paramsName); |
21 |
|
22 |
//out.print(request.getSession().getAttribute("topLink")); |
23 |
%> |
24 |
<div id="navigation"> |
25 |
<ol id="mainNav" class="clearfix"> |
26 |
<!-- INBOX, REPLIED AND SUBJECT MAINTENANCE NAVIGATION IS DISABLED on PHASE 2 --> |
27 |
<%-- <li <c:if test="${sessionScope.topLink2 eq 'inbox' }">class="topLinkSelected"</c:if> > --%> |
28 |
<%-- <html:link action="/ss119/secureMailboxMain.do?topLink2=inbox" name="paramsName" onclick="overlay();"> --%> |
29 |
<%-- <bean:message key="menu.bar.link.inbox" /> --%> |
30 |
<%-- </html:link> --%> |
31 |
<!-- </li> --> |
32 |
<%-- <li <c:if test="${sessionScope.topLink2 eq 'sent' }">class="topLinkSelected"</c:if> > --%> |
33 |
<%-- <html:link action="/ss119/secureMailboxMain.do?topLink2=sent" name="paramsName" onclick="overlay();"> --%> |
34 |
<%-- <bean:message key="menu.bar.link.sent" /> --%> |
35 |
<%-- </html:link> --%> |
36 |
<!-- </li> --> |
37 |
<li <c:if test="${sessionScope.topLink2 eq 'archive' }">class="topLinkSelected"</c:if> > |
38 |
<html:link action="/ss119/secureMailboxMain.do?topLink2=archive" name="paramsName" onclick="overlay();"> |
39 |
<bean:message key="menu.bar.link.archive" /> |
40 |
</html:link> |
41 |
</li> |
42 |
<%-- <li <c:if test="${sessionScope.topLink2 eq 'submain' }">class="topLinkSelected"</c:if> > --%> |
43 |
<%-- <html:link action="/ss119/secureMailboxCategory.do?topLink2=submain" name="paramsName" onclick="overlay();"> --%> |
44 |
<%-- <bean:message key="menu.bar.link.submain" /> --%> |
45 |
<%-- </html:link> --%> |
46 |
<!-- </li> --> |
47 |
<li <c:if test="${sessionScope.topLink2 eq 'notify' }">class="topLinkSelected"</c:if> > |
48 |
<html:link action="/ss119/secureMailboxMain.do?topLink2=notify" name="paramsName" onclick="overlay();"> |
49 |
<bean:message key="menu.bar.link.notify" /> |
50 |
</html:link> |
51 |
</li> |
52 |
</ol> |
53 |
</div> |