Revision 94:6a7a9055eabc WebContent/jsp/ss112_user/ibssRetailUserEdit.jsp

View differences:

WebContent/jsp/ss112_user/ibssRetailUserEdit.jsp
2 2
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %>
3 3
<%@ taglib uri="/WEB-INF/tld/c" prefix="c" %>
4 4

  
5
<bean:define id="detailBean" name="ibssUserForm" property="ibssUserDetailBean"/>
6 5
<h3 class="title"><strong><c:out value="${sessionScope.displayDesc}"/> - Edit</strong></h3>
7 6
<table id="errorTable">
8 7
<tr>
......
20 19
</table>
21 20
<htmlEL:form action="/ss112/editUserResult.do">
22 21
<table class="tabularForm" width="517" height="97" border="1">
23
  <tr>
24
    <td width="69">&nbsp;</td>
25
    <td width="133">&nbsp;</td>
26
    <td colspan="2">&nbsp;</td>
27
    <td width="63">&nbsp;</td>
28
  </tr>
29
  <tr>
30
    <td width="69">&nbsp;</td>
31
    <td><bean:message key="user.id"/>:</td>
32
    <td colspan="2"><strong><c:out value="${detailBean.map.userID}"/></strong></td>
33
    <td>&nbsp;</td>
34
    </tr>
35
    <tr>
36
    <td width="69">&nbsp;</td>
37
    <td><bean:message key="user.alias"/>:</td>
38
    <td colspan="2"><strong><c:out value="${detailBean.map.userAlias}"/></strong></td>
39
    <td>&nbsp;</td>
40
    </tr>
41
  <tr>
42
    <td width="69">&nbsp;</td>
43
    <td><bean:message key="user.name"/>:</td>
44
    <td colspan="2"><htmlEL:text autocomplete="off" property="userName" name="ibssUserForm" maxlength="60"/></td>
45
    <td>&nbsp;</td>
46
  </tr>
47
  <tr>
48
    <td>&nbsp;</td>
49
    <td><bean:message key="user.dob.brd"/>:</td>
50
    <td colspan="2"><htmlEL:text autocomplete="off" property="userDobBrd" name="ibssUserForm" maxlength="10"/></td>
51
    <td colspan="2">&nbsp;</td>
52
  </tr>
53
  <tr>
54
    <td>&nbsp;</td>
55
    <td><bean:message key="user.gender"/>:</td>
56
    <td colspan="2">
57
    	<htmlEL:select property="userGender" name="ibssUserForm">
58
    		<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
59
    		<htmlEL:option value="M"><bean:message key="user.gender.male"/></htmlEL:option>
60
    		<htmlEL:option value="F"><bean:message key="user.gender.female"/></htmlEL:option>
61
    	</htmlEL:select>
62
	</td>
63
    <td colspan="2">&nbsp;</td>
64
  </tr>
65
  <tr>
66
    <td>&nbsp;</td>
67
    <td><bean:message key="user.race"/>:</td>
68
    <td colspan="2">
69
		<htmlEL:select property="userRace" name="ibssUserForm">
70
    		<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
71
    		<htmlEL:option value="AMR"><bean:message key="user.race.american"/></htmlEL:option>
72
    		<htmlEL:option value="CHI"><bean:message key="user.race.chinese"/></htmlEL:option>
73
    		<htmlEL:option value="FIL"><bean:message key="user.race.filipino"/></htmlEL:option>
74
    		<htmlEL:option value="JAP"><bean:message key="user.race.japannese"/></htmlEL:option>
75
    		<htmlEL:option value="SPA"><bean:message key="user.race.spaniard"/></htmlEL:option>
76
    		<htmlEL:option value="OTH"><bean:message key="user.race.others"/></htmlEL:option>
77
    	</htmlEL:select>
78
    </td>
79
    <td colspan="2">&nbsp;</td>
80
  </tr>
81
  <tr>
82
    <td>&nbsp;</td>
83
    <td><bean:message key="user.address"/>:</td>
84
    <td colspan="2"><htmlEL:text autocomplete="off" property="userAddr1" name="ibssUserForm" maxlength="60"/></td>
85
    <td colspan="2">&nbsp;</td>
86
  </tr>
87
  <tr>
88
    <td>&nbsp;</td>
89
    <td>&nbsp;</td>
90
    <td colspan="2"><htmlEL:text autocomplete="off" property="userAddr2" name="ibssUserForm" maxlength="60"/></td>
91
    <td colspan="2">&nbsp;</td>
92
  </tr>
93
  <tr>
94
    <td>&nbsp;</td>
95
    <td>&nbsp;</td>
96
    <td colspan="2"><htmlEL:text autocomplete="off" property="userAddr3" name="ibssUserForm" maxlength="60"/></td>
97
    <td colspan="2">&nbsp;</td>
98
  </tr>
99
  <tr>
100
    <td>&nbsp;</td>
101
    <td>&nbsp;</td>
102
    <td colspan="2"><htmlEL:text autocomplete="off" property="userAddr4" name="ibssUserForm" maxlength="60"/></td>
103
    <td colspan="2">&nbsp;</td>
104
  </tr>
105
  <tr>
106
    <td>&nbsp;</td>
107
    <td>&nbsp;</td>
108
    <td colspan="2"><htmlEL:text autocomplete="off" property="userAddr5" name="ibssUserForm" maxlength="60"/></td>
109
    <td colspan="2">&nbsp;</td>
110
  </tr>
111
  <tr>
112
    <td>&nbsp;</td>
113
    <td><bean:message key="user.home.no"/>:</td>
114
    <td colspan="2"><htmlEL:text autocomplete="off" property="userHomePhone" name="ibssUserForm" maxlength="15"/></td>
115
    <td colspan="2">&nbsp;</td>
116
  </tr>
117
  <tr>
118
    <td>&nbsp;</td>
119
    <td><bean:message key="user.office.no"/>:</td>
120
    <td colspan="2"><htmlEL:text autocomplete="off" property="userOfficeNo" name="ibssUserForm" maxlength="15"/></td>
121
    <td colspan="2">&nbsp;</td>
122
  </tr>
123
  <tr>
124
    <td>&nbsp;</td>
125
    <td><bean:message key="user.mobile.no"/>:</td>
126
    <td colspan="2"><htmlEL:text autocomplete="off" property="userMobileNo" name="ibssUserForm" maxlength="15"/></td>
127
    <td colspan="2">&nbsp;</td>
128
  </tr>
129
  <tr>
130
    <td>&nbsp;</td>
131
    <td><bean:message key="user.tac.no"/>:</td>
132
    <td colspan="2"><htmlEL:text autocomplete="off" property="userTacPhone" name="ibssUserForm" maxlength="15"/></td>
133
    <td colspan="2">&nbsp;</td>
134
  </tr>
135
  <tr>
136
    <td>&nbsp;</td>
137
    <td><bean:message key="user.email"/>:</td>
138
    <td colspan="2"><htmlEL:text autocomplete="off" property="email" name="ibssUserForm" maxlength="60"/></td>
139
    <td colspan="2">&nbsp;</td>
140
  </tr>
141
  <tr>
142
    <td>&nbsp;</td>
143
    <td><bean:message key="user.updated.by"/>:</td>
144
    <td colspan="2"><strong>
145
    	<c:choose>
146
    		<c:when test="${not empty detailBean.map.updatedBy}">
147
    			<c:out value="${detailBean.map.updatedBy}"></c:out>
148
    		</c:when>
149
    		<c:otherwise>-</c:otherwise>
150
    	</c:choose>
151
    <bean:write name="detailBean" property="updatedBy"/>
152
    </strong></td>
153
    <td>&nbsp;</td>
154
  </tr>
155
  <tr>
156
    <td>&nbsp;</td>
157
    <td><bean:message key="user.creation.date"/>: </td>
158
    <td colspan="2"><strong>
159
    	<c:choose>
160
    		<c:when test="${not empty detailBean.map.userCreationDate}">
161
    			<c:out value="${detailBean.map.userCreationDate}"></c:out>
162
    		</c:when>
163
    		<c:otherwise>-</c:otherwise>
164
    	</c:choose>
165
    </strong></td>
166
    <td>&nbsp;</td>
167
  </tr>
168
  <tr>
169
    <td>&nbsp;</td>
170
    <td><bean:message key="user.updated.date"/>: </td>
171
    <td colspan="2"><strong>
172
        <c:choose>
173
    		<c:when test="${not empty detailBean.map.updatedDate}">
174
    			<c:out value="${detailBean.map.updatedDate}"></c:out>
175
    		</c:when>
176
    		<c:otherwise>-</c:otherwise>
177
    	</c:choose>
178
    <bean:write name="detailBean" property="updatedDate"/>
179
    </strong></td>
180
    <td>&nbsp;</td>
181
  </tr>
182
  <tr>
183
    <td>&nbsp;</td>
184
    <td>&nbsp;</td>
185
    <td colspan="2">&nbsp;</td>
186
    <td>&nbsp;</td>
187
  </tr>
188
  <tr><td colspan="5">&nbsp;</td></tr>
22
<tr>
23
		<td width="72">&nbsp;</td>
24
    	<td width="140">&nbsp;</td>
25
    	<td width="345">&nbsp;</td>
26
    	<td width="3">&nbsp;</td>
27
   		 <td width="44">&nbsp;</td>
28
	</tr>
29

  
30
	<tr>
31
		<td width="72">&nbsp;</td>
32
		<td width="140"><bean:message key="general.id"/>:</td>
33
		<td width="345"><c:out value="${ibssUserForm.map.userID}"/></td>
34
		<td width="3">&nbsp;</td>
35
   		<td width="44">&nbsp;</td>
36
	</tr>
37

  
38
	<tr>
39
		<td width="72">&nbsp;</td>
40
		<td width="140"><bean:message key="user.id"/>:</td>
41
		<td width="345"><c:out value="${ibssUserForm.map.userAlias}"/></td>
42
		<td width="3">&nbsp;</td>
43
   		<td width="44">&nbsp;</td>
44
	</tr>
45
	
46
	<tr>
47
		<td width="72">&nbsp;</td>
48
		<td width="140"><bean:message key="user.status"/>:</td>
49
		<td width="345"><c:out value="${ibssUserForm.map.userStatus}"/></td>
50
		<td width="3">&nbsp;</td>
51
   		<td width="44">&nbsp;</td>
52
	</tr>
53
	
54
	<tr>
55
		<td width="72">&nbsp;</td>
56
		<td width="140"><bean:message key="user.application"/>:</td>
57
		<td width="345"><c:out value="${ibssUserForm.map.userApplication}"/></td>
58
		<td width="3">&nbsp;</td>
59
   		<td width="44">&nbsp;</td>
60
	</tr>
61
	
62
	<c:if test="${ibssUserForm.map.userApplicationKey eq '1'}">
63
	
64
	<tr>
65
		<td width="72">&nbsp;</td>
66
		<td width="140"><bean:message key="user.pan.1"/>:</td>
67
		<td width="345"><htmlEL:text property="m2uPan1" name="ibssUserForm" autocomplete="off"/></td>
68
		<td width="3">&nbsp;</td>
69
   		<td width="44">&nbsp;</td>
70
	</tr>
71
	<tr>
72
		<td width="72">&nbsp;</td>
73
		<td width="140"><bean:message key="user.pan.2"/>:</td>
74
		<td width="345"><htmlEL:text property="m2uPan2" name="ibssUserForm" autocomplete="off"/></td>
75
		<td width="3">&nbsp;</td>
76
   		<td width="44">&nbsp;</td>
77
	</tr>
78
	
79
	</c:if>
80
	<c:if test="${ibssUserForm.map.userApplicationKey eq '2'}">
81
	
82
	<tr>
83
		<td width="72">&nbsp;</td>
84
		<td width="140"><bean:message key="user.id.no"/>:</td>
85
		<td width="345"><htmlEL:text property="onlineStockIdNo" name="ibssUserForm" autocomplete="off"/></td>
86
		<td width="3">&nbsp;</td>
87
   		<td width="44">&nbsp;</td>
88
	</tr>
89
	
90
	</c:if>
91
	<c:if test="${ibssUserForm.map.userApplicationKey eq '3'}">
92
	
93
	<tr>
94
		<td width="72">&nbsp;</td>
95
		<td width="140"><bean:message key="user.full.name"/>:</td>
96
		<td width="345"><htmlEL:text property="ticketingFullName" name="ibssUserForm" autocomplete="off"/></td>
97
		<td width="3">&nbsp;</td>
98
   		<td width="44">&nbsp;</td>
99
	</tr>
100
	<tr>
101
		<td width="72">&nbsp;</td>
102
		<td width="140"><bean:message key="user.first.name"/>:</td>
103
		<td><htmlEL:text property="ticketingFirstName" name="ibssUserForm" autocomplete="off"/></td>
104
		<td width="3">&nbsp;</td>
105
   		<td width="44">&nbsp;</td>
106
	</tr>
107
	<tr>
108
		<td width="72">&nbsp;</td>
109
		<td width="140"><bean:message key="user.last.name"/>:</td>
110
		<td width="345"><htmlEL:text property="ticketingLastName" name="ibssUserForm" autocomplete="off"/></td>
111
		<td width="3">&nbsp;</td>
112
   		<td width="44">&nbsp;</td>
113
	</tr>
114
	<tr>
115
		<td width="72">&nbsp;</td>
116
		<td width="140"><bean:message key="user.payee.code"/>:</td>
117
		<td width="345"><htmlEL:text property="ticketingPayeeCode" name="ibssUserForm" autocomplete="off"/></td>
118
		<td width="3">&nbsp;</td>
119
   		<td width="44">&nbsp;</td>
120
	</tr>
121
	
122
	</c:if>
123
	<c:if test="${ibssUserForm.map.userApplicationKey eq '4'}">
124
	
125
	<tr>
126
		<td width="72">&nbsp;</td>
127
		<td width="140"><bean:message key="user.pan.cc"/>:</td>
128
		<td width="345"><htmlEL:text property="ccppPanCC" name="ibssUserForm" autocomplete="off"/></td>
129
		<td width="3">&nbsp;</td>
130
   		<td width="44">&nbsp;</td>
131
	</tr>
132
	
133
	</c:if>
134
	<c:if test="${ibssUserForm.map.userApplicationKey eq '5'}">
135
	
136
	<tr>
137
		<td width="72">&nbsp;</td>
138
		<td width="140"><bean:message key="user.ws.flag"/>:</td>
139
		<td width="345">
140
			<htmlEL:select property="im2uWSFlag" name="ibssUserForm">
141
    			<htmlEL:option value="Y"><bean:message key="general.yes"/></htmlEL:option>
142
    			<htmlEL:option value="N"><bean:message key="general.no"/></htmlEL:option>
143
    		</htmlEL:select>
144
    	</td>
145
		<td width="3">&nbsp;</td>
146
   		<td width="44">&nbsp;</td>
147
	</tr>
148
	<tr>
149
		<td width="72">&nbsp;</td>
150
		<td width="140"><bean:message key="user.ws.ident.code"/>:</td>
151
		<td width="345"><htmlEL:text property="im2uWSIdentCode" name="ibssUserForm" autocomplete="off"/></td>
152
		<td width="3">&nbsp;</td>
153
   		<td width="44">&nbsp;</td>
154
	</tr>
155
	<tr>
156
		<td width="72">&nbsp;</td>
157
		<td width="140"><bean:message key="user.ws.my.sg.id"/>:</td>
158
		<td width="345"><htmlEL:text property="im2uWSMySgId" name="ibssUserForm" autocomplete="off"/></td>
159
		<td width="3">&nbsp;</td>
160
   		<td width="44">&nbsp;</td>
161
	</tr>
162
	<tr>
163
		<td width="72">&nbsp;</td>
164
		<td width="140"><bean:message key="user.ws.registration.time.stamp"/>:</td>
165
		<td width="345"><htmlEL:text property="im2uWSRegTimestamp" name="ibssUserForm" autocomplete="off"/> &nbsp; <bean:message key="im2u.reg.timestamp.format"/></td>
166
		<td width="3">&nbsp;</td>
167
   		<td width="44">&nbsp;</td>
168
	</tr>
169
	
170
	</c:if>
171
	
172
	<tr>
173
		<td>&nbsp;</td>
174
		<td>&nbsp;</td>
175
		<td>&nbsp;</td>
176
		<td>&nbsp;</td>
177
		<td>&nbsp;</td>
178
	</tr>
179
	
180
	<tr>
181
		<td colspan="5">&nbsp;</td>
182
	</tr>
183

  
189 184
</table>
190 185
<div class="floatRight">
191 186
	<htmlEL:submit property="action" styleClass="button" onclick="overlay();">

Also available in: Unified diff