Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss103_group / ibssGroupDetails.jsp @ 41:48535d43fbf7

History | View | Annotate | Download (8.03 KB)

1
<%@ 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" prefix="logic" %>
4
<%@ taglib uri="/WEB-INF/tld/struts-logic-el" prefix="logicEL" %>
5
<%@ taglib uri="/WEB-INF/tld/c" prefix="c" %>
6

    
7
<bean:define id="detailBean" name="ibssGroupForm" property="ibssGroupDetailBean" />
8
<bean:define id="viewBean" name="ibssGroupForm" property="ibssGroupView" />
9

    
10
<h3 class="title"><strong><c:out value="${sessionScope.displayDesc}"/> - <bean:message key="navigation.details.displayDesc.details" /></strong></h3>
11

    
12
<table id="errorTable">
13
<tr>
14
	<td>
15
		<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
16
	</td>
17
</tr>
18
</table>
19

    
20
<htmlEL:form action="/ss103/groupEdit.do">
21
<table class="tabularForm">
22
  <tr>
23
    <td width="61">&nbsp;</td>
24
    <td width="160">&nbsp;</td>
25
    <td colspan="2">&nbsp;</td>
26
    <td width="47" colspan="2">&nbsp;</td>
27
  </tr>
28
  <tr>
29
    <td>&nbsp;</td>
30
    <td><bean:message key="group.id"/>:</td>
31
    <td colspan="2"><strong><c:out value="${detailBean.map.groupID}"/></strong></td>
32
    <td colspan="2">&nbsp;</td>
33
  </tr>
34
  <tr>
35
    <td>&nbsp;</td>
36
    <td><bean:message key="group.name"/>:</td>
37
    <td colspan="2"><strong><c:out value="${detailBean.map.groupName}"/></strong></td>
38
    <td colspan="2">&nbsp;</td>
39
  </tr>
40
  <tr>
41
    <td>&nbsp;</td>
42
    <td><bean:message key="group.description"/>:</td>
43
    <td colspan="2">
44
    <c:choose>
45
    	<c:when test="${not empty detailBean.map.groupDescription}">
46
    		 <strong><c:out value="${detailBean.map.groupDescription}"/></strong>
47
    	</c:when>
48
    	<c:otherwise>-</c:otherwise>
49
    </c:choose>
50
    </td>
51
    <td colspan="2">&nbsp;</td>
52
  </tr>
53
  <tr>
54
    <td>&nbsp;</td>
55
    <td><bean:message key="group.created.by"/>:</td>
56
    <td colspan="2">
57
    <c:choose>
58
    	<c:when test="${not empty detailBean.map.groupCreatedBy}">
59
    		 <strong><c:out value="${detailBean.map.groupCreatedBy}"/></strong>
60
    	</c:when>
61
    	<c:otherwise>-</c:otherwise>
62
    </c:choose>
63
    </td>
64
    <td colspan="2">&nbsp;</td>
65
  </tr>
66
  <tr>
67
    <td>&nbsp;</td>
68
    <td><bean:message key="group.creation.date"/>:</td>
69
    <td colspan="2">
70
    <c:choose>
71
    	<c:when test="${not empty detailBean.map.groupCreationDate}">
72
    		 <strong><c:out value="${detailBean.map.groupCreationDate}"/></strong>
73
    	</c:when>
74
    	<c:otherwise>-</c:otherwise>
75
    </c:choose>
76
    </td>
77
    <td colspan="2">&nbsp;</td>
78
  </tr>
79
  <tr>
80
    <td>&nbsp;</td>
81
    <td><bean:message key="group.updated.by"/>:</td>
82
    <td colspan="2">
83
    <c:choose>
84
    	<c:when test="${not empty detailBean.map.groupUpdatedBy}">
85
    		 <strong><c:out value="${detailBean.map.groupUpdatedBy}"/></strong>
86
    	</c:when>
87
    	<c:otherwise>-</c:otherwise>
88
    </c:choose>
89
    </td>
90
    <td colspan="2">&nbsp;</td>
91
  </tr>
92
  <tr>
93
    <td>&nbsp;</td>
94
    <td><bean:message key="group.updated.date"/>:</td>
95
    <td colspan="2">
96
    <c:choose>
97
    	<c:when test="${not empty detailBean.map.groupUpdatedDate}">
98
    		 <strong><c:out value="${detailBean.map.groupUpdatedDate}"/></strong>
99
    	</c:when>
100
    	<c:otherwise>-</c:otherwise>
101
    </c:choose>
102
    </td>
103
    <td colspan="2">&nbsp;</td>
104
  </tr>
105
  <%--  <tr>
106
    <td>&nbsp;</td>
107
    <td><bean:message key="group.mode"/>:</td>
108
    <td colspan="2">
109
    <c:choose>
110
    	<c:when test="${not empty detailBean.map.mode}">
111
    	<bean:define id="mode" name="detailBean" property="mode" />
112
        <strong><bean:message key='<%="group.mode." + String.valueOf( mode )%>' /></strong>
113
    	</c:when>
114
    	<c:otherwise>-</c:otherwise>
115
    </c:choose>
116
    </td>
117
    <td colspan="2">&nbsp;</td>
118
  </tr> --%>
119
  <tr>
120
    <td>&nbsp;</td>
121
    <td>&nbsp;</td>
122
    <td colspan="2">&nbsp;</td>
123
    <td colspan="2">&nbsp;</td>
124
  </tr>
125
  <tr>
126
    <td>&nbsp;</td>
127
    <td><strong><bean:message key="group.access"/></strong>:</td>
128
    <td colspan="2">&nbsp;</td>
129
    <td colspan="2">&nbsp;</td>
130
  </tr>
131
  <tr>
132
  	<td>&nbsp;</td>
133
  	<td>&nbsp;</td>
134
  	<td colspan="4">
135
  		<br/>
136
  		<ul class="treeHierarchy" class="right">
137
			<c:forEach var="item" items="${viewBean.map.navigationList}" varStatus="index">
138
				<c:set var="css" value=""/>
139
				<c:if test="${index.last}"><c:set var="css" value="lastLine"/></c:if>
140
				<li class="<c:out value="${css}"/>">
141
					<htmlEL:multibox name="viewBean" property="accessibleArray" disabled="true" ><c:out value="${item.nodeId}"/></htmlEL:multibox>
142
					<label class="nodeName"><c:out value="${item.nodeName}"/></label>
143
					(<c:out value="${item.nodeCode}"/>)
144
				
145
					<c:if test="${not empty item.subNavigations}">
146
					<ul>
147
					<c:forEach var="subItem" items="${item.subNavigations}" varStatus="index1">
148
						<c:set var="css" value=""/>
149
						<c:if test="${index1.last}"><c:set var="css" value="lastLine"/></c:if>
150
						<li class="<c:out value="${css}"/>">
151
							<htmlEL:multibox name="viewBean" property="accessibleArray" disabled="true" ><c:out value="${subItem.nodeId}"/></htmlEL:multibox>
152
							<label class="nodeName"><c:out value="${subItem.nodeName}"/></label>
153
							(<c:out value="${subItem.nodeCode}"/>)
154
						
155
							<c:if test="${not empty subItem.subNavigations}">
156
							<ul>
157
							<c:forEach var="thirdItem" items="${subItem.subNavigations}" varStatus="index2">
158
								<c:set var="css" value=""/>
159
								<c:if test="${index2.last}"><c:set var="css" value="lastLine"/></c:if>
160
								<li class="<c:out value="${css}"/>">
161
									<htmlEL:multibox name="viewBean" property="accessibleArray" disabled="true" ><c:out value="${thirdItem.nodeId}"/></htmlEL:multibox>
162
									<label class="nodeName"><c:out value="${thirdItem.nodeName}"/></label>
163
									(<c:out value="${thirdItem.nodeCode}"/>)
164
								
165
									<c:if test="${not empty thirdItem.subNavigations}">
166
									<ul>
167
									<c:forEach var="forthItem" items="${thirdItem.subNavigations}" varStatus="index3">
168
										<c:set var="css" value=""/>
169
										<c:if test="${index3.last}"><c:set var="css" value="lastLine"/></c:if>
170
										<li class="<c:out value="${css}"/>">
171
											<htmlEL:multibox name="viewBean" property="accessibleArray" disabled="true" ><c:out value="${forthItem.nodeId}"/></htmlEL:multibox>
172
											<label class="nodeName"><c:out value="${forthItem.nodeName}"/></label>
173
											(<c:out value="${forthItem.nodeCode}"/>)
174
										</li>
175
									</c:forEach>
176
									</ul>
177
									</c:if>
178
								</li>
179
							</c:forEach>
180
							</ul>
181
							</c:if>
182
						</li>
183
					</c:forEach>
184
					</ul>
185
					</c:if>	
186
				</li>			
187
			</c:forEach>
188
		</ul>
189
  	</td>
190
  </tr>
191
  </table>
192
  <c:choose>
193
  <c:when test="${detailBean.map.groupID eq 0}">
194
  	<div class="floatRight">
195
		<htmlEL:submit property="action" styleClass="button" onclick="overlay();">
196
			<bean:message key="general.button.back"/>						
197
		</htmlEL:submit>
198
	  </div>
199
  </c:when>
200
  <c:otherwise>
201
	  <div class="floatRight">
202
	  	<htmlEL:submit property="action" styleClass="button" onclick="overlay();">
203
			<bean:message key="general.button.back"/>						
204
		</htmlEL:submit>
205
		<c:if test="${ibssGroupForm.map.hasGroupEditAccess eq true}">
206
		<htmlEL:hidden property="groupID" name="detailBean" value="${detailBean.map.groupID}"></htmlEL:hidden>
207
	  	<htmlEL:submit property="action" styleClass="button" onclick="overlay();">
208
			<bean:message key="general.button.edit"/>						
209
		</htmlEL:submit>
210
		</c:if>
211
		<c:if test="${ibssGroupForm.map.hasGroupDeleteAccess eq true}">
212
		<htmlEL:hidden property="groupID" name="detailBean" value="${detailBean.map.groupID}"></htmlEL:hidden>
213
		<htmlEL:submit property="action" styleClass="button" onclick="overlay();">
214
			<bean:message key="general.button.delete"/>						
215
		</htmlEL:submit>
216
		</c:if>
217
	  	<htmlEL:submit  property="action" styleClass="button" onclick="popUp('../ss103/printForm.do','console',1000,800);return false;">
218
	  		<bean:message key="general.button.print"/>
219
		</htmlEL:submit>
220

    
221
	  </div>
222
  </c:otherwise>
223
  </c:choose>
224
  </htmlEL:form>
225