m2u-upass-admin / WebContent / jsp / ss112_user / ibssRetailUserDetails.jsp @ 120:ae1d99468601
History | View | Annotate | Download (5.01 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="ibssUserForm" |
6 |
property="ibssUserDetailBean" /> |
7 |
|
8 |
<h3 class="title"> |
9 |
<strong><c:out value="${sessionScope.displayDesc}" /> - |
10 |
Details</strong> |
11 |
</h3> |
12 |
<table id="errorTable"> |
13 |
<tr> |
14 |
<td><span id="serverSideError" class="error"><jsp:include |
15 |
flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span> |
16 |
</td> |
17 |
</tr> |
18 |
</table> |
19 |
<htmlEL:form action="/ss112/editUserDetails.do"> |
20 |
<table> |
21 |
<tr> |
22 |
<td> </td> |
23 |
</tr> |
24 |
</table> |
25 |
<%-- <h5> |
26 |
<bean:message key="user.login.details" /> |
27 |
</h5> --%> |
28 |
<table class="tabularForm"> |
29 |
<tr> |
30 |
<td width="61"> </td> |
31 |
<td width="200"> </td> |
32 |
<td colspan="2"> </td> |
33 |
<td width="47" colspan="2"> </td> |
34 |
</tr> |
35 |
<tr> |
36 |
<td> </td> |
37 |
<td><bean:message key="general.id" />:</td> |
38 |
<td colspan="2"><strong><c:out |
39 |
value="${detailBean.map.userID}" /> </strong></td> |
40 |
<td colspan="2"> </td> |
41 |
</tr> |
42 |
<tr> |
43 |
<td> </td> |
44 |
<td><bean:message key="user.id" />:</td> |
45 |
<td colspan="2"><strong><c:out |
46 |
value="${detailBean.map.userAlias}" /> </strong></td> |
47 |
<td colspan="2"> </td> |
48 |
</tr> |
49 |
<%-- <tr> |
50 |
<td> </td> |
51 |
<td><bean:message key="user.customer.name" />:</td> |
52 |
<td colspan="2"><strong> <c:choose> |
53 |
<c:when test="${not empty detailBean.map.userName}"> |
54 |
<c:out value="${detailBean.map.userName}"></c:out> |
55 |
</c:when> |
56 |
<c:otherwise>-</c:otherwise> |
57 |
</c:choose> </strong></td> |
58 |
<td colspan="2"> </td> |
59 |
</tr> --%> |
60 |
<tr> |
61 |
<td> </td> |
62 |
<td><bean:message key="user.status" />:</td> |
63 |
<td colspan="2"><strong> <c:choose> |
64 |
<c:when test="${not empty detailBean.map.userStatus}"> |
65 |
<c:out value="${detailBean.map.userStatus}"></c:out> |
66 |
</c:when> |
67 |
<c:otherwise>-</c:otherwise> |
68 |
</c:choose> </strong></td> |
69 |
<td colspan="2"> </td> |
70 |
</tr> |
71 |
<tr> |
72 |
<td> </td> |
73 |
<td><bean:message key="user.application" />:</td> |
74 |
<td colspan="2"><strong> <c:choose> |
75 |
<c:when test="${not empty detailBean.map.userApplication}"> |
76 |
<c:out value="${detailBean.map.userApplication}"></c:out> |
77 |
</c:when> |
78 |
<c:otherwise>-</c:otherwise> |
79 |
</c:choose> </strong></td> |
80 |
<td colspan="2"> </td> |
81 |
</tr> |
82 |
<%-- <tr> |
83 |
<td> </td> |
84 |
<td><bean:message key="user.authentication.mode" />:</td> |
85 |
<td colspan="2"><strong> <c:choose> |
86 |
<c:when test="${not empty detailBean.map.userAuthMode}"> |
87 |
<c:out value="${detailBean.map.userAuthMode}"></c:out> |
88 |
</c:when> |
89 |
<c:otherwise>-</c:otherwise> |
90 |
</c:choose> </strong></td> |
91 |
<td colspan="2"> </td> |
92 |
</tr> --%> |
93 |
<tr> |
94 |
<td> </td> |
95 |
<td><bean:message key="user.creation.date" />:</td> |
96 |
<td colspan="2"><strong> <c:choose> |
97 |
<c:when test="${not empty detailBean.map.userCreationDate}"> |
98 |
<c:out value="${detailBean.map.userCreationDate}"></c:out> |
99 |
</c:when> |
100 |
<c:otherwise>-</c:otherwise> |
101 |
</c:choose> </strong></td> |
102 |
<td colspan="2"> </td> |
103 |
</tr> |
104 |
|
105 |
<c:forEach var="detail" items="${detailBean.map.userDetailsMap}"> |
106 |
<tr> |
107 |
<td> </td> |
108 |
<td><c:out value="${detail.key}"></c:out>:</td> |
109 |
<td colspan="2"><strong> <c:choose> |
110 |
<c:when test="${not empty detail.value}"> |
111 |
<c:out value="${detail.value}"></c:out> |
112 |
</c:when> |
113 |
<c:otherwise>-</c:otherwise> |
114 |
</c:choose> </strong></td> |
115 |
<td colspan="2"> </td> |
116 |
</tr> |
117 |
</c:forEach> |
118 |
|
119 |
|
120 |
</table> |
121 |
<div class="floatRight"> |
122 |
<htmlEL:cancel property="action" styleClass="button" |
123 |
onclick="overlay();"> |
124 |
<bean:message key="general.button.back" /> |
125 |
</htmlEL:cancel> |
126 |
|
127 |
<%-- <c:if test="${detailBean.map.userApplicationKey ne '2'}"> --%> |
128 |
<htmlEL:submit property="action" styleClass="button" |
129 |
onclick="overlay();"> |
130 |
<bean:message key="general.button.edit" /> |
131 |
</htmlEL:submit> |
132 |
<%-- </c:if> --%> |
133 |
|
134 |
<c:if test="${detailBean.map.userStatusKey eq 1}"> |
135 |
<htmlEL:submit property="action" styleClass="button" |
136 |
onclick="overlay();"> |
137 |
<bean:message key="general.button.unlock" /> |
138 |
</htmlEL:submit> |
139 |
</c:if> |
140 |
|
141 |
<c:if test="${detailBean.map.userStatusKey eq 2}"> |
142 |
<htmlEL:submit property="action" styleClass="button" |
143 |
onclick="overlay();"> |
144 |
<bean:message key="general.button.activate" /> |
145 |
</htmlEL:submit> |
146 |
</c:if> |
147 |
|
148 |
<c:if test="${detailBean.map.userStatusKey eq 0}"> |
149 |
<htmlEL:submit property="action" styleClass="button" |
150 |
onclick="overlay();"> |
151 |
<bean:message key="general.button.suspend" /> |
152 |
</htmlEL:submit> |
153 |
</c:if> |
154 |
|
155 |
<htmlEL:submit property="action" styleClass="button" |
156 |
onclick="overlay();"> |
157 |
<bean:message key="general.button.reset.password" /> |
158 |
</htmlEL:submit> |
159 |
<htmlEL:submit property="action" styleClass="button" |
160 |
onclick="overlay();"> |
161 |
<bean:message key="general.button.delete" /> |
162 |
</htmlEL:submit> |
163 |
</div> |
164 |
</htmlEL:form> |