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