m2u-upass-admin / WebContent / jsp / ss105_content.eduLevel / ibssEduLevelEnquiry.jsp @ 73:bf627b8f4a47
History | View | Annotate | Download (3.13 KB)
1 | 0:ea666cc7880e | hadi | <%@ 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.eduLevel/ibssSearchEduLevel.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_edu_level_code"/></th> |
||
33 | <th> </th> |
||
34 | <th><bean:message key="content_edu_level_desc_general"/></th> |
||
35 | <th><bean:message key="content_last_updated_date"/></th> |
||
36 | </tr> |
||
37 | </thead> |
||
38 | <tbody> |
||
39 | <c:set var="styleClass" value="alt" /> |
||
40 | <logicEL:iterate id="bean" name="viewBean" property="beanList" indexId="i"> |
||
41 | <c:choose> |
||
42 | <c:when test="${(i mod 2) eq 0}"> |
||
43 | <c:set var="styleClass" value="alt"></c:set> |
||
44 | </c:when> |
||
45 | <c:otherwise> |
||
46 | <c:set var="styleClass" value="even"></c:set> |
||
47 | </c:otherwise> |
||
48 | </c:choose> |
||
49 | <bean:define id="indexNo" name="bean" property="indexNo" /> |
||
50 | <tr class="<c:out value='${styleClass}'/>"> |
||
51 | |||
52 | <bean:define id="contentID" name="bean" property="ID" /> |
||
53 | <bean:define id="currentPage" name="viewBean" property="enquiryCurrentPageNo" /> |
||
54 | <% |
||
55 | HashMap paramsName = new HashMap(); |
||
56 | paramsName.put("ID", contentID); |
||
57 | paramsName.put("p", currentPage); |
||
58 | paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
59 | |||
60 | pageContext.setAttribute("paramsName", paramsName); |
||
61 | %> |
||
62 | <td> |
||
63 | <htmlEL:link action="/ss105/eduLevelDetails.do" name="paramsName" onclick="overlay();" > |
||
64 | <c:out value="${bean.map.eduLevelCode}"/> |
||
65 | </htmlEL:link> |
||
66 | </td> |
||
67 | <td> </td> |
||
68 | <td> |
||
69 | <c:choose> |
||
70 | <c:when test="${not empty bean.map.eduLevelDesc}"> |
||
71 | <c:out value="${bean.map.eduLevelDesc}"></c:out> |
||
72 | </c:when> |
||
73 | <c:otherwise>-</c:otherwise> |
||
74 | </c:choose> |
||
75 | </td> |
||
76 | <td> |
||
77 | <c:choose> |
||
78 | <c:when test="${not empty bean.map.lastModTime}"> |
||
79 | <c:out value="${bean.map.lastModTime}"></c:out> |
||
80 | </c:when> |
||
81 | <c:otherwise>-</c:otherwise> |
||
82 | </c:choose> |
||
83 | </td> |
||
84 | </tr> |
||
85 | </logicEL:iterate> |
||
86 | </tbody> |
||
87 | </table> |
||
88 | </c:when> |
||
89 | |||
90 | <c:otherwise> |
||
91 | <br/> |
||
92 | <table class="tabularForm"width="517" border="1""> |
||
93 | <tr> |
||
94 | <td> |
||
95 | <bean:message key="content_desc_no_result"/>. |
||
96 | </td> |
||
97 | </tr> |
||
98 | </table> |
||
99 | <br/> |
||
100 | </c:otherwise> |
||
101 | </c:choose> |
||
102 | <c:if test="${pagination.totalPageNumber gt 1}"> |
||
103 | <jsp:include flush="true" page="/jsp/ss105_content/ibssContentPagination.jsp"/> |
||
104 | </c:if> |