Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss112_user / ibssRetailUserSearch.jsp @ 5:8c9d33d99a2a

History | View | Annotate | Download (5.17 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
<bean:define id="viewBean" name="ibssUserForm" property="ibssUserViewBean" />
7
<h3 class="title"><strong><c:out value="${sessionScope.displayDesc}"/></strong></h3>
8
<table id="errorTable">
9
<tr>
10
	<td>
11
		<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
12
	</td>
13
</tr>
14
</table>
15
<htmlEL:form action="/ss112/userEnquiryScreen.do">
16
	<table class="tabularForm">
17
		<tr><td height="30" colspan="4">&nbsp;</td></tr>
18
		<tr>
19
			<td>&nbsp;</td>
20
			<td><bean:message key="user.alias"/>&nbsp;:</td>
21
			<td><htmlEL:text name="ibssUserForm" property="searchUserAlias" maxlength="64" size="22"/></td>
22
		</tr>
23
		<tr>
24
			<td>&nbsp;</td>
25
			<td><bean:message key="user.customer.name"/>&nbsp;:</td>
26
			<td><htmlEL:text name="ibssUserForm" property="searchUserName" maxlength="64" size="22"/>&nbsp;&nbsp;</td>
27
		</tr>
28
		<tr>
29
			<td>&nbsp;</td>
30
			<td><bean:message key="user.access.no"/>&nbsp;:</td>
31
			<td><htmlEL:text name="ibssUserForm" property="searchAccessNo" maxlength="20" size="22"/>&nbsp;&nbsp;</td>
32
		</tr>
33
		<tr>
34
			<td>&nbsp;</td>
35
			<td><bean:message key="user.tac.no"/>&nbsp;:</td>
36
			<td><htmlEL:text name="ibssUserForm" property="searchTacPhone" maxlength="20" size="22"/>&nbsp;&nbsp;<bean:message key="mobile.no.example"/></td>
37
		</tr>
38
		<tr>
39
			<td>&nbsp;</td>
40
			<td><bean:message key="user.group"/>&nbsp;:</td>
41
			<td>
42
				<htmlEL:select name="ibssUserForm" property="searchUserGroup">
43
				<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
44
				<logicEL:iterate id="group" name="viewBean" property="userGroupMap">
45
					<bean:define id="key" name="group" property="key"/>
46
					<bean:define id="value" name="group" property="value"/>
47
					<htmlEL:option value="${key}"><c:out value="${value}"/></htmlEL:option>
48
				</logicEL:iterate>
49
				</htmlEL:select>
50
			</td>
51
		</tr>
52
		<tr>
53
			<td>&nbsp;</td>
54
			<td><bean:message key="user.status"/>&nbsp;:</td>
55
			<td>
56
				<htmlEL:select name="ibssUserForm" property="searchUserStatus">
57
				<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
58
				<logicEL:iterate id="group" name="viewBean" property="userStatusMap">
59
					<bean:define id="key" name="group" property="key"/>
60
					<bean:define id="value" name="group" property="value"/>
61
					<htmlEL:option value="${key}"><c:out value="${value}"/></htmlEL:option>
62
				</logicEL:iterate>
63
				</htmlEL:select>
64
			</td>
65
		</tr>
66
		<tr>
67
			<td>&nbsp;</td>
68
			<td><bean:message key="user.search.user.type"/>&nbsp;:</td>
69
			<td>
70
				<htmlEL:select name="ibssUserForm" property="searchUserType">
71
				<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
72
				<logicEL:iterate id="type" name="viewBean" property="userTypeMap">
73
					<bean:define id="key" name="type" property="key"/>
74
					<bean:define id="value" name="type" property="value"/>
75
					<htmlEL:option value="${key}"><c:out value="${value}"/></htmlEL:option>
76
				</logicEL:iterate>
77
				</htmlEL:select>
78
			</td>
79
		</tr>
80
		<tr>
81
			<td>&nbsp;</td>
82
			<td><bean:message key="user.search.creation.from.date"/>&nbsp;:</td>
83
			<td><htmlEL:text name="ibssUserForm" property="searchCreationDateFrom" readonly="true" styleId="datepicker1" maxlength="10" size="22" style="background-color : #EBE9E9;" />&nbsp;&nbsp;</td>
84
		</tr>
85
		<tr>
86
			<td>&nbsp;</td>
87
			<td><bean:message key="user.search.creation.to.date"/>&nbsp;:</td>
88
			<td><htmlEL:text name="ibssUserForm" property="searchCreationDateTo" readonly="true" styleId="datepicker2" maxlength="10" size="22" style="background-color : #EBE9E9;" />&nbsp;&nbsp;</td>
89
		</tr>
90
		<tr><td height="30" colspan="4">&nbsp;</td></tr>
91
		<tr valign="bottom">
92
			<td height="50" colspan="1"></td>
93
			<td colspan="3"><h6><i>*&nbsp;<bean:message key="audit.trail.main.date.format" /></i></h6></td>
94
		</tr>
95
	</table>
96
97
	<div class="floatRight">
98
		<htmlEL:submit property="action" styleClass="button" onclick="overlay();">
99
			<bean:message key="general.button.search"/>
100
		</htmlEL:submit>
101
	</div>
102
103
	<div class="floatRight">
104
		<htmlEL:button property="action" styleClass="button" onclick="clearAll(this.form);">
105
			<bean:message key="general.button.clear"/>
106
		</htmlEL:button>
107
	</div>
108
	<br/>
109
</htmlEL:form>
110
<script type="text/javascript">
111
$(function() {
112
	$("#datepicker1").datepicker({
113
		dateFormat: 'dd/mm/yy',
114
		showAnim: 'slideDown',
115
		showOn: 'button',
116
		buttonImage: '../images/calendar.gif',
117
		buttonImageOnly: true,
118
		minDate: '-1Y', maxDate: '+0D',
119
		onSelect : function(selectedDate) {
120
			$("#datepicker2").datepicker("option", "minDate", selectedDate);
121
		}
122
	});
123
	$("#datepicker2").datepicker({
124
		dateFormat: 'dd/mm/yy',
125
		showAnim: 'slideDown',
126
		showOn: 'button',
127
		buttonImage: '../images/calendar.gif',
128
		buttonImageOnly: true,
129
		minDate: '-1Y', maxDate: '+0D',
130
		onSelect : function(selectedDate) {
131
			$("#datepicker1").datepicker("option", "maxDate", selectedDate);
132
		}
133
	});
134
});
135
</script>