Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss105_content / ibssCreateServiceNote.jsp @ 33:0eec2c6c7dce

History | View | Annotate | Download (19.6 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
<script type="text/javascript" src="<%=request.getContextPath()%>/js/service-info.js"></script>
7
<script type="text/javascript" src="../js/tiny_mce/tiny_mce.js"></script>
8
<script language="javascript" type="text/javascript">
9

    
10
$(document).ready(function(){
11
	tierCharges1Checking();
12
	tierCharges2Checking();
13
	tierCharges3Checking();
14
	tierCharges4Checking();
15
	tierCharges5Checking();
16
})
17

    
18
tinyMCE.init({
19
	mode : "textareas",
20
	theme : "advanced",
21
	theme_advanced_buttons1 :"bold, italic, underline",
22
	theme_advanced_buttons2 :"",
23
	theme_advanced_buttons3 :"",
24
	theme_advanced_buttons4 :"",
25
	theme_advanced_toolbar_align : "left",
26
	theme_advanced_toolbar_location : "top",
27
	nowrap : false
28
	
29
});
30
</script>
31
<c:set var="serviceNoteBean" value="${contentForm.map.serviceNoteBean}"/>
32
<h3 class="title"><STRONG><bean:message key="title_sub_create_service_note"/></STRONG></h3><br/>
33
<table id="errorTable">
34
<tr>
35
	<td>
36
		<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
37
	</td>
38
</tr>
39
</table>
40
<htmlEL:form action="/ss105/createServiceNote.do">
41
<table class="stepTable">
42
<tr>
43
<td>&nbsp;</td>
44
<td><div id="steps"><span><bean:message key="general.title.steps" arg0="1" arg1="2"/></span></div></td>
45

    
46
</tr>
47
</table>
48
<table class="tabularForm">
49
	<tr><td colspan="3">&nbsp;</td></tr>
50
	<tr>
51
		<td width="10%">&nbsp;</td>
52
		<td><bean:message key="content_account_status_category"></bean:message>:</td>
53
		<td><strong><c:out value="${contentForm.map.categoryName}"/></strong></td>
54
	</tr>
55
	<tr>
56
		<td width="10%">&nbsp;</td>
57
		<td><bean:message key="content_service_code"></bean:message>:</td>
58
		<td><htmlEL:text property="serviceCode" name="contentForm" autocomplete="off" maxlength="16"></htmlEL:text></td>
59
	</tr>
60
	<tr>
61
		<td width="10%">&nbsp;</td>
62
		<td class="valignTop"><bean:message key="content_service_name"/>:</td>
63
		<td><htmlEL:text property="serviceName" autocomplete="off" name="contentForm" maxlength="64"/></td>
64
	</tr>
65
	<tr>
66
		<td width="10%">&nbsp;</td>
67
		<td class="valignTop"><bean:message key="content_service_name_EN"/>:</td>
68
		<td><htmlEL:text property="serviceNameEN" autocomplete="off" name="contentForm" maxlength="64"/></td>
69
	</tr>
70
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
71
	<tr>
72
		<td width="10%">&nbsp;</td>
73
		<td class="valignTop"><bean:message key="content_service_name_ML"/>:</td>
74
		<td><htmlEL:text property="serviceNameML" autocomplete="off" name="contentForm" maxlength="64"/></td>
75
	</tr>
76
	</c:if>
77
	<tr>
78
		<td width="10%">&nbsp;</td>
79
		<td class="valignTop"><bean:message key="content_service_main_note_1"/>:</td>
80
		<td><htmlEL:textarea property="mainNote1" name="contentForm"/></td>
81
	</tr>
82
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
83
	<tr>
84
		<td width="10%">&nbsp;</td>
85
		<td class="valignTop"><bean:message key="content_service_main_note_1_ML"/>:</td>
86
		<td><htmlEL:textarea property="mainNote1ML" name="contentForm" /></td>
87
	</tr>
88
	</c:if>
89
	<tr>
90
		<td width="10%">&nbsp;</td>
91
		<td class="valignTop"><bean:message key="content_service_main_note_2"/>:</td>
92
		<td><htmlEL:textarea property="mainNote2" name="contentForm"/></td>
93
	</tr>
94
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
95
	<tr>
96
		<td width="10%">&nbsp;</td>
97
		<td class="valignTop"><bean:message key="content_service_main_note_2_ML"/>:</td>
98
		<td><htmlEL:textarea property="mainNote2ML" name="contentForm"/></td>
99
	</tr>
100
	</c:if>
101
	<tr>
102
		<td width="10%">&nbsp;</td>
103
		<td class="valignTop"><bean:message key="content_service_main_note_3"/>:</td>
104
		<td><htmlEL:textarea property="mainNote3" name="contentForm"/></td>
105
	</tr>
106
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
107
	<tr>
108
		<td width="10%">&nbsp;</td>
109
		<td class="valignTop"><bean:message key="content_service_main_note_3_ML"/>:</td>
110
		<td><htmlEL:textarea property="mainNote3ML" name="contentForm"/></td>
111
	</tr>
112
	</c:if>
113
	<tr>
114
		<td width="10%">&nbsp;</td>
115
		<td class="valignTop"><bean:message key="content_service_main_note_4"/>:</td>
116
		<td><htmlEL:textarea property="mainNote4" name="contentForm"/></td>
117
	</tr>
118
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
119
	<tr>
120
		<td width="10%">&nbsp;</td>
121
		<td class="valignTop"><bean:message key="content_service_main_note_4_ML"/>:</td>
122
		<td><htmlEL:textarea property="mainNote4ML" name="contentForm"/></td>
123
	</tr>
124
	</c:if>
125
	<tr>
126
		<td width="10%">&nbsp;</td>
127
		<td class="valignTop"><bean:message key="content_service_main_note_5"/>:</td>
128
		<td><htmlEL:textarea property="mainNote5" name="contentForm"/></td>
129
	</tr>
130
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
131
	<tr>
132
		<td width="10%">&nbsp;</td>
133
		<td class="valignTop"><bean:message key="content_service_main_note_5_ML"/>:</td>
134
		<td><htmlEL:textarea property="mainNote5ML" name="contentForm"/></td>
135
	</tr>
136
	</c:if>
137
	<tr>
138
		<td width="10%">&nbsp;</td>
139
		<td class="valignTop"><bean:message key="content_service_main_note_6"/>:</td>
140
		<td><htmlEL:textarea property="mainNote6" name="contentForm"/></td>
141
	</tr>
142
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
143
	<tr>
144
		<td width="10%">&nbsp;</td>
145
		<td class="valignTop"><bean:message key="content_service_main_note_6_ML"/>:</td>
146
		<td><htmlEL:textarea property="mainNote6ML" name="contentForm"/></td>
147
	</tr>
148
	</c:if>
149
	<tr>
150
		<td width="10%">&nbsp;</td>
151
		<td class="valignTop"><bean:message key="content_service_offline_message"></bean:message>:</td>
152
		<td><htmlEL:textarea property="offlineMessage" name="contentForm"/></td>
153
	</tr>
154
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
155
	<tr>
156
		<td width="10%">&nbsp;</td>
157
		<td class="valignTop"><bean:message key="content_service_offline_message_ML"/>:</td>
158
		<td><htmlEL:textarea property="offlineMessageML" name="contentForm"/></td>
159
	</tr>
160
	</c:if>
161
	<tr>
162
		<td width="10%">&nbsp;</td>
163
		<td class="valignTop"><bean:message key="content_service_min_limit"></bean:message>:</td>
164
		<td><htmlEL:text property="minLimit" autocomplete="off" name="contentForm" maxlength="9"/></td>
165
	</tr>
166
	<tr>
167
		<td width="10%">&nbsp;</td>
168
		<td class="valignTop"><bean:message key="content_service_max_limit"></bean:message>:</td>
169
		<td><htmlEL:text property="maxLimit" autocomplete="off" name="contentForm" maxlength="9"/></td>
170
	</tr>
171
	<tr>
172
		<td width="10%">&nbsp;</td>
173
		<td class="valignTop"><bean:message key="content_service_denominator"></bean:message>:</td>
174
		<td><htmlEL:text property="denominator" autocomplete="off" name="contentForm" maxlength="9"/></td>
175
	</tr>
176
	<tr>
177
		<td width="10%">&nbsp;</td>
178
		<td class="valignTop"><bean:message key="content_service_future_trnx_flag"></bean:message>:</td>
179
		<td>
180
			<htmlEL:select property="futureTrnxFlag" name="contentForm">
181
				<htmlEL:option value="NO"></htmlEL:option>
182
				<htmlEL:option value="YES"></htmlEL:option>
183
			</htmlEL:select>
184
		</td>
185
	</tr>
186
	
187
<tr>
188
		<td width="10%">&nbsp;</td>
189
		<td class="valignTop"><bean:message key="content_service_def_charges_1"></bean:message>:</td>
190
		<td><htmlEL:text property="defaultCharges1" autocomplete="off" name="contentForm" maxlength="16"/></td>
191
	</tr>
192
	<tr>
193
		<td width="10%">&nbsp;</td>
194
		<td class="valignTop"><bean:message key="content_service_tier_charges_req_1"></bean:message>:</td>
195
		<td>
196
			<htmlEL:select styleId="tierChargesReq1" property="tierChargesReq1" name="contentForm" onchange="tierCharges1Checking();">
197
				<htmlEL:option value="1"><bean:message key="general.no"/></htmlEL:option>
198
				<htmlEL:option value="0"><bean:message key="general.yes"/></htmlEL:option>
199
			</htmlEL:select>
200
		</td>
201
	</tr>
202
	<tr>
203
		<td width="10%">&nbsp;</td>
204
		<td class="valignTop"><bean:message key="content_service_tier_charges_1"></bean:message>:</td>
205
		<td>
206
			<htmlEL:select styleId="chargeCode1" property="chargeCode1" name="contentForm">
207
				<htmlEL:option value=""></htmlEL:option>
208
				<logicEL:iterate id="each" name="serviceNoteBean" property="tieredChargesList">
209
					<htmlEL:option value="${each.chargeCode}"><c:out value="${each.chargeCode}"/></htmlEL:option>
210
				</logicEL:iterate>
211
			</htmlEL:select>
212
		</td>
213
	</tr>
214
	<tr>
215
		<td width="10%">&nbsp;</td>
216
		<td class="valignTop"><bean:message key="content_service_def_charges_2"></bean:message>:</td>
217
		<td><htmlEL:text property="defaultCharges2" autocomplete="off" name="contentForm" maxlength="16"/></td>
218
	</tr>
219
	<tr>
220
		<td width="10%">&nbsp;</td>
221
		<td class="valignTop"><bean:message key="content_service_tier_charges_req_2"></bean:message>:</td>
222
		<td>
223
			<htmlEL:select styleId="tierChargesReq2" property="tierChargesReq2" name="contentForm" onchange="tierCharges2Checking();">
224
				<htmlEL:option value="1"><bean:message key="general.no"/></htmlEL:option>
225
				<htmlEL:option value="0"><bean:message key="general.yes"/></htmlEL:option>
226
			</htmlEL:select>
227
		</td>
228
	</tr>
229
	<tr>
230
		<td width="10%">&nbsp;</td>
231
		<td class="valignTop"><bean:message key="content_service_tier_charges_2"></bean:message>:</td>
232
		<td>
233
			<htmlEL:select styleId="chargeCode2" property="chargeCode2" name="contentForm">
234
				<htmlEL:option value=""></htmlEL:option>
235
				<logicEL:iterate id="each" name="serviceNoteBean" property="tieredChargesList">
236
					<htmlEL:option value="${each.chargeCode}"><c:out value="${each.chargeCode}"/></htmlEL:option>
237
				</logicEL:iterate>
238
			</htmlEL:select>
239
		</td>
240
	</tr>
241
	<tr>
242
		<td width="10%">&nbsp;</td>
243
		<td class="valignTop"><bean:message key="content_service_def_charges_3"></bean:message>:</td>
244
		<td><htmlEL:text property="defaultCharges3" autocomplete="off" name="contentForm" maxlength="16"/></td>
245
	</tr>
246
	<tr>
247
		<td width="10%">&nbsp;</td>
248
		<td class="valignTop"><bean:message key="content_service_tier_charges_req_3"></bean:message>:</td>
249
		<td>
250
			<htmlEL:select styleId="tierChargesReq3" property="tierChargesReq3" name="contentForm" onchange="tierCharges3Checking();">
251
				<htmlEL:option value="1"><bean:message key="general.no"/></htmlEL:option>
252
				<htmlEL:option value="0"><bean:message key="general.yes"/></htmlEL:option>
253
			</htmlEL:select>
254
		</td>
255
	</tr>
256
	<tr>
257
		<td width="10%">&nbsp;</td>
258
		<td class="valignTop"><bean:message key="content_service_tier_charges_3"></bean:message>:</td>
259
		<td>
260
			<htmlEL:select styleId="chargeCode3" property="chargeCode3" name="contentForm">
261
				<htmlEL:option value=""></htmlEL:option>
262
				<logicEL:iterate id="each" name="serviceNoteBean" property="tieredChargesList">
263
					<htmlEL:option value="${each.chargeCode}"><c:out value="${each.chargeCode}"/></htmlEL:option>
264
				</logicEL:iterate>
265
			</htmlEL:select>
266
		</td>
267
	</tr>
268
	<tr>
269
		<td width="10%">&nbsp;</td>
270
		<td class="valignTop"><bean:message key="content_service_def_charges_4"></bean:message>:</td>
271
		<td><htmlEL:text property="defaultCharges4" autocomplete="off" name="contentForm" maxlength="16"/></td>
272
	</tr>
273
	<tr>
274
		<td width="10%">&nbsp;</td>
275
		<td class="valignTop"><bean:message key="content_service_tier_charges_req_4"></bean:message>:</td>
276
		<td>
277
			<htmlEL:select styleId="tierChargesReq4" property="tierChargesReq4" name="contentForm" onchange="tierCharges4Checking();">
278
				<htmlEL:option value="1"><bean:message key="general.no"/></htmlEL:option>
279
				<htmlEL:option value="0"><bean:message key="general.yes"/></htmlEL:option>
280
			</htmlEL:select>
281
		</td>
282
	</tr>
283
	<tr>
284
		<td width="10%">&nbsp;</td>
285
		<td class="valignTop"><bean:message key="content_service_tier_charges_4"></bean:message>:</td>
286
		<td>
287
			<htmlEL:select styleId="chargeCode4" property="chargeCode4" name="contentForm">
288
				<htmlEL:option value=""></htmlEL:option>
289
				<logicEL:iterate id="each" name="serviceNoteBean" property="tieredChargesList">
290
					<htmlEL:option value="${each.chargeCode}"><c:out value="${each.chargeCode}"/></htmlEL:option>
291
				</logicEL:iterate>
292
			</htmlEL:select>
293
		</td>
294
	</tr>
295
	<tr>
296
		<td width="10%">&nbsp;</td>
297
		<td class="valignTop"><bean:message key="content_service_def_charges_5"></bean:message>:</td>
298
		<td><htmlEL:text property="defaultCharges5" autocomplete="off" name="contentForm" maxlength="16"/></td>
299
	</tr>
300
	<tr>
301
		<td width="10%">&nbsp;</td>
302
		<td class="valignTop"><bean:message key="content_service_tier_charges_req_5"></bean:message>:</td>
303
		<td>
304
			<htmlEL:select styleId="tierChargesReq5" property="tierChargesReq5" name="contentForm" onchange="tierCharges5Checking();">
305
				<htmlEL:option value="1"><bean:message key="general.no"/></htmlEL:option>
306
				<htmlEL:option value="0"><bean:message key="general.yes"/></htmlEL:option>
307
			</htmlEL:select>
308
		</td>
309
	</tr>
310
	<tr>
311
		<td width="10%">&nbsp;</td>
312
		<td class="valignTop"><bean:message key="content_service_tier_charges_5"></bean:message>:</td>
313
		<td>
314
			<htmlEL:select styleId="chargeCode5" property="chargeCode5" name="contentForm">
315
				<htmlEL:option value=""></htmlEL:option>
316
				<logicEL:iterate id="each" name="serviceNoteBean" property="tieredChargesList">
317
					<htmlEL:option value="${each.chargeCode}"><c:out value="${each.chargeCode}"/></htmlEL:option>
318
				</logicEL:iterate>
319
			</htmlEL:select>
320
		</td>
321
	</tr>
322

    
323

    
324

    
325

    
326
	<tr>
327
		<td width="10%">&nbsp;</td>
328
		<td class="valignTop"><bean:message key="content_service_charges"></bean:message>:</td>
329
		<td><htmlEL:text property="charges" autocomplete="off" name="contentForm" maxlength="9"/></td>
330
	</tr>
331
	<tr>
332
		<td width="10%">&nbsp;</td>
333
		<td class="valignTop"><bean:message key="content_service_tac_required"></bean:message>:</td>
334
		<td>
335
			<htmlEL:select property="tacRequired" name="contentForm">
336
				<htmlEL:option value="NO"></htmlEL:option>
337
				<htmlEL:option value="YES"></htmlEL:option>
338
			</htmlEL:select>
339
		</td>
340
	</tr>
341
	<tr>
342
		<td width="10%">&nbsp;</td>
343
		<td class="valignTop"><bean:message key="content_service_sms_service_bit"></bean:message>:</td>
344
		<td>
345
			<htmlEL:select property="smsServiceBit" name="contentForm">
346
				<htmlEL:option value="NO"></htmlEL:option>
347
				<htmlEL:option value="YES"></htmlEL:option>
348
			</htmlEL:select>
349
		</td>
350
	</tr>
351
	<tr id="smsCharges">
352
		<td width="10%">&nbsp;</td>
353
		<td class="valignTop"><bean:message key="content_service_sms_charges"></bean:message>:</td>
354
		<td><htmlEL:text property="smsCharges" autocomplete="off" name="contentForm" maxlength="9"/></td>
355
	</tr>
356
	<tr>
357
		<td width="10%">&nbsp;</td>
358
		<td class="valignTop"><bean:message key="content_service_min_sms_amount"></bean:message>:</td>
359
		<td><htmlEL:text property="minSmsAmount" autocomplete="off" name="contentForm" maxlength="9"/></td>
360
	</tr>
361
	<tr>
362
		<td width="10%">&nbsp;</td>
363
		<td class="valignTop"><bean:message key="content_service_sms_note1"></bean:message>:</td>
364
		<td><htmlEL:textarea property="smsNote1" name="contentForm"/></td>
365
	</tr>
366
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
367
	<tr>
368
		<td width="10%">&nbsp;</td>
369
		<td class="valignTop"><bean:message key="content_service_sms_note1_ML"></bean:message>:</td>
370
		<td><htmlEL:textarea property="smsNote1ML" name="contentForm"/></td>
371
	</tr>
372
	</c:if>
373
	<tr>
374
		<td width="10%">&nbsp;</td>
375
		<td class="valignTop"><bean:message key="content_service_sms_note2"></bean:message>:</td>
376
		<td><htmlEL:textarea property="smsNote2" name="contentForm"/></td>
377
	</tr>
378
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
379
	<tr>
380
		<td width="10%">&nbsp;</td>
381
		<td class="valignTop"><bean:message key="content_service_sms_note2_ML"></bean:message>:</td>
382
		<td><htmlEL:textarea property="smsNote2ML" name="contentForm"/></td>
383
	</tr>
384
	</c:if>
385
	<tr>
386
		<td width="10%">&nbsp;</td>
387
		<td class="valignTop"><bean:message key="content_service_sms_note3"></bean:message>:</td>
388
		<td><htmlEL:textarea property="smsNote3" name="contentForm"/></td>
389
	</tr>
390
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
391
	<tr>
392
		<td width="10%">&nbsp;</td>
393
		<td class="valignTop"><bean:message key="content_service_sms_note3_ML"></bean:message>:</td>
394
		<td><htmlEL:textarea property="smsNote3ML" name="contentForm"/></td>
395
	</tr>
396
	</c:if>
397
	<tr>
398
		<td width="10%">&nbsp;</td>
399
		<td class="valignTop"><bean:message key="content_service_sms_note4"></bean:message>:</td>
400
		<td><htmlEL:textarea property="smsNote4" name="contentForm"/></td>
401
	</tr>
402
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> 
403
	<tr>
404
		<td width="10%">&nbsp;</td>
405
		<td class="valignTop"><bean:message key="content_service_sms_note4_ML"></bean:message>:</td>
406
		<td><htmlEL:textarea property="smsNote4ML" name="contentForm"/></td>
407
	</tr>
408
	</c:if>
409
	<tr>
410
		<td width="10%">&nbsp;</td>
411
		<td class="valignTop"><bean:message key="content_service_sms_note5"></bean:message>:</td>
412
		<td><htmlEL:text property="smsNote5" name="contentForm" maxlength="135" style="width:500px;" /></td>
413
	</tr>
414
	<tr>
415
		<td width="10%">&nbsp;</td>
416
		<td class="valignTop"><bean:message key="content_service_table_limit"></bean:message>:</td>
417
		<td><htmlEL:text property="tableLimit" autocomplete="off" name="contentForm" maxlength="9"/></td>
418
	</tr>
419
	<tr>
420
		<td width="10%">&nbsp;</td>
421
		<td class="valignTop"><bean:message key="content_service_bene_sms_service_bit"></bean:message>:</td>
422
		<td>
423
			<htmlEL:select property="beneSmsServiceBit" name="contentForm">
424
				<htmlEL:option value="NO"></htmlEL:option>
425
				<htmlEL:option value="YES"></htmlEL:option>
426
			</htmlEL:select>
427
		</td>
428
	</tr>
429
	<tr>
430
		<td width="10%">&nbsp;</td>
431
		<td class="valignTop"><bean:message key="content_service_bene_sms_charges"></bean:message>:</td>
432
		<td><htmlEL:text property="beneSmsCharges" autocomplete="off" name="contentForm" maxlength="9"/></td>
433
	</tr>
434
	<tr>
435
		<td width="10%">&nbsp;</td>
436
		<td><bean:message key="content_status"/>:</td>
437
		<td>
438
			<htmlEL:select property="status" name="contentForm">
439
				<htmlEL:option value="Off-line"></htmlEL:option>
440
				<htmlEL:option value="On-line"></htmlEL:option>
441
			</htmlEL:select>
442
		</td>
443
	</tr>
444
	
445
	<tr>
446
		<td width="10%">&nbsp;</td>
447
		<td><bean:message key="content.service.reward.base"/>:</td>
448
		<td>
449
			<htmlEL:select property="rewardBase" name="contentForm">
450
				<htmlEL:option value="0"><bean:message key="content.service.reward.base.0"/></htmlEL:option>
451
				<htmlEL:option value="1"><bean:message key="content.service.reward.base.1"/></htmlEL:option>
452
				<htmlEL:option value="2"><bean:message key="content.service.reward.base.2"/></htmlEL:option>
453
			</htmlEL:select>
454
		</td>
455
	</tr>
456
	<tr>
457
		<td width="10%">&nbsp;</td>
458
		<td><bean:message key="content.service.reward.multipier"/>:</td>
459
		<td><htmlEL:text property="rewardMultiplier" name="contentForm" autocomplete="off" maxlength="16"></htmlEL:text></td>
460
	</tr>
461
	<tr>
462
		<td width="10%">&nbsp;</td>
463
		<td class="valignTop"><bean:message key="content.service.info.expire.day"></bean:message>:</td>
464
		<td><htmlEL:text property="expireDay" autocomplete="off" name="contentForm" maxlength="4"/></td>
465
	</tr>
466
	<tr><td colspan="3">&nbsp;</td></tr>
467
</table>
468
	<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
469
		<bean:message key="input_button_create_category_done"/>						
470
	</htmlEL:submit>
471
</htmlEL:form>
472

    
473
<script language="javascript" type="text/javascript">
474
$(function() {  
475
    $("textarea[maxlength]").bind('input propertychange', function() {  
476
        var maxLength = $(this).attr('maxlength');  
477
        if ($(this).val().length > maxLength) {  
478
            $(this).val($(this).val().substring(0, maxLength));  
479
        }  
480
    })  
481
});
482
</script>