Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss113_group / ibssIbGroupDetails.jsp @ 18:f6f916c1b907

History | View | Annotate | Download (8.69 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/c" prefix="c" %>
4

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

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

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

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