m2u-upass-admin / WebContent / jsp / ss105_content / ibssPayeeEnquiry.jsp @ 11:a6a63c03e6e0
History | View | Annotate | Download (3.71 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/ibssSearchPayee.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_payee_code"/></th> |
||
33 | <th><bean:message key="content_payee_full_name_general"/></th> |
||
34 | <th><bean:message key="content_directory"/></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/PayeeDetails.do" name="paramsName" onclick="overlay();" > |
||
65 | <c:choose> |
||
66 | <c:when test="${not empty bean.map.payeeCode}"> |
||
67 | <c:out value="${bean.map.payeeCode}"/> |
||
68 | </c:when> |
||
69 | <c:otherwise>-</c:otherwise> |
||
70 | </c:choose> |
||
71 | </htmlEL:link> |
||
72 | </td> |
||
73 | <td> |
||
74 | <c:choose> |
||
75 | <c:when test="${not empty bean.map.fullName}"> |
||
76 | <c:out value="${bean.map.fullName}"/> |
||
77 | </c:when> |
||
78 | <c:otherwise>-</c:otherwise> |
||
79 | </c:choose> |
||
80 | </td> |
||
81 | <td> |
||
82 | <c:forEach var="linkMap" items="${bean.map.linkMap}">/ |
||
83 | <htmlEL:link action="${linkMap.key}" name="paramsName" onclick="overlay();"> |
||
84 | <c:out value="${linkMap.value}"/> |
||
85 | </htmlEL:link> |
||
86 | </c:forEach> |
||
87 | </td> |
||
88 | <td> |
||
89 | <c:choose> |
||
90 | <c:when test="${not empty bean.map.status}"> |
||
91 | <c:out value="${bean.map.status}"/> |
||
92 | </c:when> |
||
93 | <c:otherwise>-</c:otherwise> |
||
94 | </c:choose> |
||
95 | </td> |
||
96 | <td> |
||
97 | <c:choose> |
||
98 | <c:when test="${not empty bean.map.lastModTime}"> |
||
99 | <c:out value="${bean.map.lastModTime}"/> |
||
100 | </c:when> |
||
101 | <c:otherwise>-</c:otherwise> |
||
102 | </c:choose> |
||
103 | </td> |
||
104 | </tr> |
||
105 | </logicEL:iterate> |
||
106 | </tbody> |
||
107 | </table> |
||
108 | </c:when> |
||
109 | |||
110 | <c:otherwise> |
||
111 | <br/> |
||
112 | <table class="tabularForm"width="517" border="1"> |
||
113 | <tr> |
||
114 | <td> |
||
115 | <bean:message key="content_desc_no_result"/>. |
||
116 | </td> |
||
117 | </tr> |
||
118 | </table> |
||
119 | <br/> |
||
120 | </c:otherwise> |
||
121 | </c:choose> |
||
122 | <c:if test="${pagination.totalPageNumber gt 1}"> |
||
123 | <jsp:include flush="true" page="/jsp/ss105_content/ibssContentPagination.jsp"/> |
||
124 | </c:if> |