📄 viewarticle.jsp
字号:
<%@ include file = "../tiles/include.jsp"%>
<center>
<table CELLPADDING="0" CELLSPACING="0" width="100%">
<tr>
<td class="summary-title"> <a href="./"><bean:message key="index.title"/></a>
<logic:present name="parents" scope="request">
<logic:iterate name="parents" id="parent" >
===> <a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write name="parent" property="catalogId" />"><bean:write name="parent" property="catalogTitle" /></a>
</logic:iterate>
</logic:present>
===> <a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write name="article" property="catalog.catalogId" />"><bean:write name="article" property="catalog.catalogTitle" /></a>
</td>
</tr>
</table>
<table CELLPADDING="0" CELLSPACING="0" width="100%" class="tdbg">
<tr align="center">
<td colspan="4"><h1 class="aTitle"><bean:write name="article" property="artTitle" /></h1></td>
</tr>
<tr align="center">
<td><bean:message key="article.author"/> <bean:write name="article" property="author.person.name" /></td>
<td><bean:message key="article.dist"/> <bean:write name="article" property="artDist" /></td>
<td><bean:message key="article.count"/> <bean:write name="article" property="artCount" /></td>
<td><bean:message key="article.updateDate"/> <bean:write name="article" property="artLastdate" formatKey="dateFormat"/></td>
</tr>
</table>
<table class="tdbg" cellspacing="0" cellpadding="10" width="100%" >
<tr>
<td><div id="BodyLabel" class="content" ><bean:write name="article" property="artContent" filter="false"/></div></td>
</tr>
</table>
<br>
<table CELLPADDING="0" CELLSPACING="0" width="100%">
<thead>
<tr class="summary-title">
<td colspan="2"><bean:message key="critic.critic"/></td>
</tr>
</thead>
<logic:iterate property="critics" name="article" id="critic" >
<tr class="tdbg">
<td><bean:write name="critic" property="author"/></td>
<td><bean:write name="critic" property="createDate" formatKey="dateFormat"/></td>
</tr>
<tr class="tdbg">
<td colspan="2"><bean:write name="critic" property="content" filter="false"/></td>
</tr>
<tr class="tdbg">
<td colspan="2"><hr size="1"></td>
</tr>
</logic:iterate>
</table>
<html:form action="addCritic?method=addCritic" onsubmit = "return validateCriticForm(this);">
<table CELLPADDING="0" CELLSPACING="0" width="100%" >
<thead>
<tr class="summary-title">
<td colspan="2"><bean:message key="critic.public"/></td>
</tr>
</thead>
<tr class="tdbg">
<td><bean:message key="critic.author"/></td>
<td><html:text property="critic.author" /></td>
</tr>
<tr class="tdbg">
<td><bean:message key="critic.content"/></td>
<td><html:textarea property="critic.content" rows="5" cols="80"/></td>
</tr>
<tr class="tdbg">
<td> </td>
<td align="center"><html:submit styleClass="button"><bean:message key="button.save"/></html:submit></td>
</tr>
</table>
<input type="hidden" name="id" value="<bean:write name="article" property="artId" />">
</html:form>
</center>
<html:javascript formName="criticForm"
dynamicJavascript="true"
staticJavascript="false"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -