?? newsform.ftl
字號:
<#global html=JspTaglibs["/WEB-INF/tags/struts-html.tld"]>
<#global bean=JspTaglibs["/WEB-INF/tags/struts-bean.tld"]>
<html>
<head>
<title>新聞發布</title>
<link href="style/style.css" rel="stylesheet" type="text/css">
<@bean.page id="request" property="request"/>
<#assign contextPath = request.contextPath/>
</head>
<body>
<table width="780" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" align="center">
<img src="images/title.gif">
</td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1 solid #CCCCCC;background-color:#F4F4F4 ">
<@html.form method="post" action="/saveNews.do" focus="vo.newsTitle">
<input type="hidden" name="action" value="insertNews">
<tr>
<td colspan="2" style="padding:5px;"><@html.errors/></td>
</tr>
<tr>
<td width="113" height="25" align="right">新聞標題:</td>
<td width="665" height="25"><@html.text property="vo.newsTitle" styleClass="input1"/></td>
</tr>
<tr>
<td height="25" align="right">新聞來源:</td>
<td height="25"><@html.text property="vo.newsFrom" styleClass="input1"/></td>
</tr>
<tr>
<td height="25" align="right">發布人:</td>
<td height="25"><@html.text property="vo.newsAuthor" styleClass="input1"/></td>
</tr>
<tr>
<td height="25" align="right">新聞內容:</td>
<td height="25">
<@html.textarea property="vo.newsContent" cols="80" rows="10"/>
</td>
</tr>
<tr>
<td height="25" align="right">發布日期:</td>
<td height="25"><@html.text property="vo.newsDate" styleClass="input1"/></td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="30"><@html.submit value="確 定" styleClass="button1"/> <@html.button value="新聞管理" styleClass="button1" onclick="javascript:location.href='${contextPath}/newsList.do'"/></td>
</tr>
</@html.form>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -