m2u-upass-admin / WebContent / jsp / ss105_content / ibssSecurityQuesEnquiry.jsp @ 81:22e57c1be088
History | View | Annotate | Download (3.37 KB)
1 |
<%@ taglib uri="/WEB-INF/tld/struts-html-el" prefix="htmlEL" %> |
---|---|
2 |
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %> |
3 |
<%@ taglib uri="/WEB-INF/tld/struts-logic-el" prefix="logicEL" %> |
4 |
<%@ taglib uri="/WEB-INF/tld/c" prefix="c" %> |
5 |
|
6 |
<%@page import="java.util.HashMap"%> |
7 |
|
8 |
<bean:define id="viewBean" name="contentForm" property="contentsBean" /> |
9 |
<bean:define id="pagination" name="viewBean" property="pagination" /> |
10 |
|
11 |
<table id="errorTable"> |
12 |
<tr> |
13 |
<td> |
14 |
<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span> |
15 |
</td> |
16 |
</tr> |
17 |
</table> |
18 |
|
19 |
<jsp:include page="/jsp/ss105_content/ibssSearchSecurityQues.jsp" flush="true"/> |
20 |
|
21 |
<div id="resultBox"></div> |
22 |
|
23 |
<c:if test="${pagination.totalPageNumber gt 1}"> |
24 |
<jsp:include flush="true" page="/jsp/ss105_content/ibssContentPagination.jsp"/> |
25 |
</c:if> |
26 |
|
27 |
<c:choose> |
28 |
<c:when test="${not empty viewBean.map.beanList}"> |
29 |
<table class="tabularData" cellspacing="0"> |
30 |
<thead> |
31 |
<tr> |
32 |
<th height="34"><bean:message key="content_security_ques_code"/></th> |
33 |
<th> </th> |
34 |
<th><bean:message key="content_security_ques_desc_general"/></th> |
35 |
<th><bean:message key="content_status"/></th> |
36 |
<th><bean:message key="content_last_updated_date"/></th> |
37 |
</tr> |
38 |
</thead> |
39 |
<tbody> |
40 |
<c:set var="styleClass" value="alt" /> |
41 |
<logicEL:iterate id="bean" name="viewBean" property="beanList" indexId="i"> |
42 |
<c:choose> |
43 |
<c:when test="${(i mod 2) eq 0}"> |
44 |
<c:set var="styleClass" value="alt"></c:set> |
45 |
</c:when> |
46 |
<c:otherwise> |
47 |
<c:set var="styleClass" value="even"></c:set> |
48 |
</c:otherwise> |
49 |
</c:choose> |
50 |
<bean:define id="indexNo" name="bean" property="indexNo" /> |
51 |
<tr class="<c:out value='${styleClass}'/>"> |
52 |
|
53 |
<bean:define id="contentID" name="bean" property="ID" /> |
54 |
<bean:define id="currentPage" name="viewBean" property="enquiryCurrentPageNo" /> |
55 |
<% |
56 |
HashMap paramsName = new HashMap(); |
57 |
paramsName.put("ID", contentID); |
58 |
paramsName.put("p", currentPage); |
59 |
paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
60 |
|
61 |
pageContext.setAttribute("paramsName", paramsName); |
62 |
%> |
63 |
<td> |
64 |
<htmlEL:link action="/ss105/securityQuesDetails.do" name="paramsName" onclick="overlay();" > |
65 |
<c:out value="${bean.map.quesCode}"/> |
66 |
</htmlEL:link> |
67 |
</td> |
68 |
<td> </td> |
69 |
<td> |
70 |
<c:choose> |
71 |
<c:when test="${not empty bean.map.quesDesc}"> |
72 |
<c:out value="${bean.map.quesDesc}"></c:out> |
73 |
</c:when> |
74 |
<c:otherwise>-</c:otherwise> |
75 |
</c:choose> |
76 |
</td> |
77 |
<td> |
78 |
<c:choose> |
79 |
<c:when test="${not empty bean.map.status}"> |
80 |
<c:out value="${bean.map.status}"></c:out> |
81 |
</c:when> |
82 |
<c:otherwise>-</c:otherwise> |
83 |
</c:choose> |
84 |
</td> |
85 |
<td> |
86 |
<c:choose> |
87 |
<c:when test="${not empty bean.map.lastModTime}"> |
88 |
<c:out value="${bean.map.lastModTime}"></c:out> |
89 |
</c:when> |
90 |
<c:otherwise>-</c:otherwise> |
91 |
</c:choose> |
92 |
</td> |
93 |
</tr> |
94 |
</logicEL:iterate> |
95 |
</tbody> |
96 |
</table> |
97 |
</c:when> |
98 |
|
99 |
<c:otherwise> |
100 |
<br/> |
101 |
<table class="tabularForm"width="517" border="1""> |
102 |
<tr> |
103 |
<td> |
104 |
<bean:message key="content_desc_no_result"/>. |
105 |
</td> |
106 |
</tr> |
107 |
</table> |
108 |
<br/> |
109 |
</c:otherwise> |
110 |
</c:choose> |
111 |
<c:if test="${pagination.totalPageNumber gt 1}"> |
112 |
<jsp:include flush="true" page="/jsp/ss105_content/ibssContentPagination.jsp"/> |
113 |
</c:if> |
114 |
|