Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss105_content / ibssSearchNotice.jsp @ 142:9f1591b1f4b7

History | View | Annotate | Download (4.14 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
<%@ taglib uri="/WEB-INF/tld/struts-logic-el" prefix="logicEL" %>
5

    
6
<h3 class="title"><strong><bean:message key="content_notice_search_header"/></strong></h3>
7
<table id="errorTable">
8
<tr>
9
	<td>
10
		<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
11
	</td>
12
</tr>
13
</table>
14
<htmlEL:form action="/ss105/searchNoticeResult.do">
15
	<table class="tabularForm">
16
		<tr><td height="30" colspan="4">&nbsp;</td></tr>
17
		<tr>
18
			<td>&nbsp;</td>
19
			<td><bean:message key="content_notice_title"/></td>
20
			<td align="left">:</td>
21
			<td><htmlEL:text name="contentForm" property="searchNoticeTitle" autocomplete="off" maxlength="20" size="22"/></td>
22
		</tr>
23
		<tr>
24
			<td>&nbsp;</td>
25
			<td><bean:message key="content_notice_abstract_general"/></td>
26
			<td>:</td>
27
			<td><htmlEL:text name="contentForm" property="searchNoticeAbstract" autocomplete="off" maxlength="64" size="22"/>&nbsp;&nbsp;</td>
28
		</tr>
29
		<tr>
30
			<td>&nbsp;</td>
31
			<td><bean:message key="content_notice_description_general"/></td>
32
			<td>:</td>
33
			<td><htmlEL:text name="contentForm" property="searchNoticeDescription" autocomplete="off" maxlength="64" size="22"/>&nbsp;&nbsp;
34
			<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
35
			<bean:define id="viewBean" name="contentForm" property="noticeInfoBean" />
36
			<htmlEL:select property="searchLanguage" name="contentForm">
37
	    		<logicEL:iterate id="element" name="viewBean" property="languageMap">
38
	    			<bean:define id="key" name="element" property="key"/>
39
	    			<bean:define id="value" name="element" property="value"/>
40
	    			<htmlEL:option value="${key}"><c:out value="${value}"/></htmlEL:option>
41
	    		</logicEL:iterate>
42
	    	</htmlEL:select>
43
	    	</c:if> 
44
			</td>
45
		</tr>
46
		<tr>
47
			<td>&nbsp;</td>
48
			<td><bean:message key="content_notice_start_date"/></td>
49
			<td>:</td>
50
			<td><htmlEL:text name="contentForm" property="searchNoticeStartDate" autocomplete="off" maxlength="10" size="22" styleId="datepicker1"/>&nbsp;&nbsp;</td>
51
		</tr>
52
		<tr>
53
			<td>&nbsp;</td>
54
			<td><bean:message key="content_notice_end_date"/></td>
55
			<td>:</td>
56
			<td><htmlEL:text name="contentForm" property="searchNoticeEndDate" autocomplete="off" maxlength="10" size="22" styleId="datepicker2"/>&nbsp;&nbsp;</td>
57
		</tr>
58
		<tr>
59
			<td>&nbsp;</td>
60
			<td><bean:message key="content_notice_type"/></td>
61
			<td>:</td>
62
			<td>
63
				<htmlEL:select name="contentForm" property="searchNoticeType">
64
				<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
65
				<htmlEL:option value="A"><bean:message key="content_notice_announcement"/></htmlEL:option>
66
				<htmlEL:option value="P"><bean:message key="content_notice_promotion"/></htmlEL:option>
67
				</htmlEL:select>
68
			</td>
69
		</tr>
70
		<tr>
71
			<td>&nbsp;</td>
72
			<td><bean:message key="content_status"/></td>
73
			<td>:</td>
74
			<td>
75
				<htmlEL:select name="contentForm" property="searchNoticeStatus">
76
				<htmlEL:option value=""><bean:message key="general.select.option0"/></htmlEL:option>
77
				<htmlEL:option value="0"><bean:message key="content_online_selection"/></htmlEL:option>
78
				<htmlEL:option value="1"><bean:message key="content_offline_selection"/></htmlEL:option>
79
				</htmlEL:select>
80
			</td>
81
		</tr>
82
		<tr><td height="30" colspan="4">&nbsp;</td></tr>
83
	</table>
84
	<div class="floatRight">
85
		<htmlEL:submit property="action" styleClass="button" onclick="overlay();">
86
			<bean:message key="general.button.search"/>
87
		</htmlEL:submit>
88
	</div>
89
	<br/>
90
</htmlEL:form>
91

    
92
<script type="text/javascript">
93
$(function() {
94
	$("#datepicker1").datepicker({
95
			dateFormat: 'dd/mm/yy',
96
			showOn: 'button',
97
			buttonImage: '../images/calendar.gif',
98
			buttonImageOnly: true,
99
			minDate: '-2Y', maxDate: '+2Y'
100
		});
101
	$("#datepicker2").datepicker({
102
		dateFormat: 'dd/mm/yy',
103
		showOn: 'button',
104
		buttonImage: '../images/calendar.gif',
105
		buttonImageOnly: true,
106
		minDate: '-2Y', maxDate: '+2Y'
107
	});
108
});
109
</script>