Revision 13:053ef68134de WebContent/jsp/ss112_user/ibssRetailUserEnquiry.jsp
WebContent/jsp/ss112_user/ibssRetailUserEnquiry.jsp | ||
---|---|---|
10 | 10 |
<bean:define id="viewBean" name="ibssUserForm" property="ibssUserViewBean" /> |
11 | 11 |
<bean:define id="pagination" name="viewBean" property="pagination" /> |
12 | 12 |
|
13 |
<h3 class="title"><strong><c:out value="${sessionScope.displayDesc}"/></strong></h3> |
|
14 |
|
|
13 | 15 |
<table id="errorTable"> |
14 | 16 |
<tr> |
15 | 17 |
<td> |
... | ... | |
24 | 26 |
<jsp:include flush="true" page="/jsp/ss112_user/ibssRetailUserEnquiryPagination.jsp"></jsp:include> |
25 | 27 |
</c:if> |
26 | 28 |
|
27 |
<beanEL:size collection="${viewBean.map.userBeanList}" id="userListSize"/>
|
|
29 |
<beanEL:size collection="${viewBean.map.allUserMap}" id="userListSize"/>
|
|
28 | 30 |
|
29 | 31 |
<c:choose> |
30 | 32 |
<c:when test="${userListSize > 0}"> |
... | ... | |
35 | 37 |
<th><bean:message key="user.alias"/></th> |
36 | 38 |
<th><bean:message key="user.customer.name"/></th> |
37 | 39 |
<th><bean:message key="user.status"/></th> |
38 |
<th><bean:message key="user.updated.date"/></th> |
|
40 |
<th><bean:message key="user.application"/></th> |
|
41 |
<th><bean:message key="user.authentication.mode"/></th> |
|
42 |
<th><bean:message key="user.creation.date"/></th> |
|
39 | 43 |
</tr> |
40 | 44 |
</thead> |
41 | 45 |
<tbody> |
42 | 46 |
<c:set var="styleClass" value="alt" /> |
43 |
<logicEL:iterate id="userBean" name="viewBean" property="userBeanList" indexId="i"> |
|
47 |
<logicEL:iterate id="userMap" name="viewBean" property="allUserMap" indexId="i"> |
|
48 |
<c:set var="userBean" value="${userMap.value}"></c:set> |
|
44 | 49 |
<c:choose> |
45 | 50 |
<c:when test="${(i mod 2) eq 0}"> |
46 | 51 |
<c:set var="styleClass" value="alt"></c:set> |
... | ... | |
49 | 54 |
<c:set var="styleClass" value="even"></c:set> |
50 | 55 |
</c:otherwise> |
51 | 56 |
</c:choose> |
52 |
<bean:define id="indexNo" name="userBean" property="indexNo" />
|
|
57 |
<c:set var="indexNo" value="${userMap.key}"></c:set>
|
|
53 | 58 |
<tr class="<c:out value='${styleClass}'/>"> |
54 | 59 |
|
55 |
<bean:define id="userID" name="userBean" property="userID" /> |
|
56 |
<bean:define id="userAlias" name="userBean" property="userAlias" /> |
|
57 |
<bean:define id="userName" name="userBean" property="userName" /> |
|
58 |
<bean:define id="userStatus" name="userBean" property="userStatus" /> |
|
59 |
<bean:define id="updatedDate" name="userBean" property="updatedDate" /> |
|
60 |
<bean:define id="userStatusKey" name="userBean" property="userStatusKey" /> |
|
60 |
<bean:define id="indexNo" name="userMap" property="key" /> |
|
61 |
|
|
61 | 62 |
<% |
62 | 63 |
HashMap paramsName = new HashMap(); |
63 |
paramsName.put("userID", userID); |
|
64 |
paramsName.put("userName", userName); |
|
65 |
paramsName.put("userAlias", userAlias); |
|
66 |
paramsName.put("userStatus", userStatus); |
|
67 |
paramsName.put("updatedDate", updatedDate); |
|
68 |
paramsName.put("userStatusKey", userStatusKey); |
|
64 |
paramsName.put("indexNo", indexNo); |
|
69 | 65 |
paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
70 | 66 |
|
71 | 67 |
pageContext.setAttribute("paramsName", paramsName); |
... | ... | |
96 | 92 |
</td> |
97 | 93 |
<td> |
98 | 94 |
<c:choose> |
99 |
<c:when test="${not empty userBean.map.updatedDate}"> |
|
100 |
<c:out value="${userBean.map.updatedDate}"></c:out> |
|
95 |
<c:when test="${not empty userBean.map.userApplication}"> |
|
96 |
<c:out value="${userBean.map.userApplication}"></c:out> |
|
97 |
</c:when> |
|
98 |
<c:otherwise>-</c:otherwise> |
|
99 |
</c:choose> |
|
100 |
</td> |
|
101 |
<td> |
|
102 |
<c:choose> |
|
103 |
<c:when test="${not empty userBean.map.userAuthMode}"> |
|
104 |
<c:out value="${userBean.map.userAuthMode}"></c:out> |
|
105 |
</c:when> |
|
106 |
<c:otherwise>-</c:otherwise> |
|
107 |
</c:choose> |
|
108 |
</td> |
|
109 |
<td> |
|
110 |
<c:choose> |
|
111 |
<c:when test="${not empty userBean.map.userCreationDate}"> |
|
112 |
<c:out value="${userBean.map.userCreationDate}"></c:out> |
|
101 | 113 |
</c:when> |
102 | 114 |
<c:otherwise>-</c:otherwise> |
103 | 115 |
</c:choose> |
Also available in: Unified diff