m2u-upass-admin / WebContent / jsp / ss103_group / ibssGroupEnquiry.jsp @ 120:ae1d99468601
History | View | Annotate | Download (3.94 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-bean-el" prefix="beanEL" %> |
||
4 | <%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic" %> |
||
5 | <%@ taglib uri="/WEB-INF/tld/struts-logic-el" prefix="logicEL" %> |
||
6 | <%@ taglib uri="/WEB-INF/tld/c" prefix="c" %> |
||
7 | |||
8 | <%@page import="java.util.HashMap"%> |
||
9 | |||
10 | <bean:define id="viewBean" name="ibssGroupForm" property="ibssGroupView" /> |
||
11 | <bean:define id="pagination" name="viewBean" property="pagination" /> |
||
12 | |||
13 | |||
14 | <htmlEL:form action="/ss103/createGroup.do"> |
||
15 | 75:22bbdb6afe7f | weikuan | <h3 class="title"><strong><c:out value="${sessionScope.displayDesc}"/> - <bean:message key="general.button.enquiry" /></strong></h3> |
16 | 0:ea666cc7880e | hadi | <div id="resultBox"></div> |
17 | |||
18 | <table id="errorTable"> |
||
19 | <tr> |
||
20 | <td> |
||
21 | <span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span> |
||
22 | </td> |
||
23 | </tr> |
||
24 | </table> |
||
25 | <c:if test="${pagination.totalPageNumber gt 1}"> |
||
26 | <jsp:include flush="true" page="/jsp/ss103_group/ibssGroupEnquiryPagination.jsp"></jsp:include> |
||
27 | </c:if> |
||
28 | |||
29 | <beanEL:size collection="${viewBean.map.groupList}" id="groupListSize"/> |
||
30 | |||
31 | <c:choose> |
||
32 | <c:when test="${groupListSize > 0}"> |
||
33 | <table class="tabularData" cellspacing="0"> |
||
34 | <thead> |
||
35 | <tr> |
||
36 | <th height="34"><bean:message key="group.id"/></th> |
||
37 | <th><bean:message key="group.name"/></th> |
||
38 | <th><bean:message key="group.created.by"/></th> |
||
39 | <th><bean:message key="group.creation.date"/></th> |
||
40 | <th><bean:message key="group.updated.date"/></th> |
||
41 | <th> </th> |
||
42 | </tr> |
||
43 | </thead> |
||
44 | <tbody> |
||
45 | <c:set var="styleClass" value="alt" /> |
||
46 | <logicEL:iterate id="groupBean" name="viewBean" property="groupList" indexId="i"> |
||
47 | <c:choose> |
||
48 | <c:when test="${(i mod 2) eq 0}"> |
||
49 | <c:set var="styleClass" value="alt"></c:set> |
||
50 | </c:when> |
||
51 | <c:otherwise> |
||
52 | <c:set var="styleClass" value="even"></c:set> |
||
53 | </c:otherwise> |
||
54 | </c:choose> |
||
55 | <bean:define id="indexNo" name="groupBean" property="indexNo" /> |
||
56 | <tr class="<c:out value='${styleClass}'/>"> |
||
57 | |||
58 | <bean:define id="groupID" name="groupBean" property="groupID" /> |
||
59 | <% |
||
60 | HashMap paramsName = new HashMap(); |
||
61 | paramsName.put("groupID", groupID); |
||
62 | paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
63 | pageContext.setAttribute("paramsName", paramsName); |
||
64 | %> |
||
65 | <td> |
||
66 | <htmlEL:link action="/ss103/groupDetails.do" name="paramsName" onclick="overlay();" > |
||
67 | <c:out value="${groupBean.map.groupID}"/> |
||
68 | </htmlEL:link> |
||
69 | </td> |
||
70 | <td> |
||
71 | <c:out value="${groupBean.map.groupName}"/> |
||
72 | </td> |
||
73 | <td> |
||
74 | <c:choose> |
||
75 | <c:when test="${not empty groupBean.map.groupCreatedBy}"> |
||
76 | <c:out value="${groupBean.map.groupCreatedBy}"/> |
||
77 | </c:when> |
||
78 | <c:otherwise>-</c:otherwise> |
||
79 | </c:choose> |
||
80 | </td> |
||
81 | <td> |
||
82 | <c:choose> |
||
83 | <c:when test="${not empty groupBean.map.groupCreationDate}"> |
||
84 | <c:out value="${groupBean.map.groupCreationDate}"/> |
||
85 | </c:when> |
||
86 | <c:otherwise>-</c:otherwise> |
||
87 | </c:choose> |
||
88 | </td> |
||
89 | <td> |
||
90 | <c:choose> |
||
91 | <c:when test="${not empty groupBean.map.groupUpdatedDate}"> |
||
92 | <c:out value="${groupBean.map.groupUpdatedDate}"/> |
||
93 | </c:when> |
||
94 | <c:otherwise>-</c:otherwise> |
||
95 | </c:choose> |
||
96 | </td> |
||
97 | <td> |
||
98 | |
||
99 | </td> |
||
100 | </tr> |
||
101 | </logicEL:iterate> |
||
102 | </tbody> |
||
103 | </table> |
||
104 | </c:when> |
||
105 | |||
106 | <c:otherwise> |
||
107 | <table class="tabularForm"width="517" border="1""> |
||
108 | <tr> |
||
109 | <td> |
||
110 | <bean:message key="group.not.found"/> |
||
111 | </td> |
||
112 | <td> |
||
113 | |
||
114 | </td> |
||
115 | </tr> |
||
116 | </table> |
||
117 | </c:otherwise> |
||
118 | </c:choose> |
||
119 | |||
120 | <c:if test="${pagination.totalPageNumber gt 1}"> |
||
121 | <jsp:include flush="true" page="/jsp/ss103_group/ibssGroupEnquiryPagination.jsp"></jsp:include> |
||
122 | </c:if> |
||
123 | |||
124 | <c:if test="${ibssGroupForm.map.hasGroupCreateAccess eq true}"> |
||
125 | <div class="floatRight"> |
||
126 | <htmlEL:submit property="action"><bean:message key="general.button.create"/></htmlEL:submit> |
||
127 | </div> |
||
128 | </c:if> |
||
129 | </htmlEL:form> |