📄 pagecontents.jsp
字号:
<%@ taglib uri="/tags/struts-bean" prefix="bean" %><%@ taglib uri="/tags/struts-html" prefix="html" %><%@ taglib uri="/tags/struts-logic" prefix="logic" %><html:form action="SaveRunData" focus="distance"> <html:hidden property="id"/> <tr> <th width="70%" align="left"> <bean:message key="EditRunDataPage.tableHeader"/> </th> <td width="30%" align="middle"> <html:submit> <bean:message key="ButtonLabel.save"/> </html:submit> <logic:notEqual name="RunData" property="id" value="TBG"> <html:submit property="delete" onclick="return confirm('Delete the current item?');"> <bean:message key="ButtonLabel.delete"/> </html:submit> </logic:notEqual> <html:cancel> <bean:message key="ButtonLabel.cancel"/> </html:cancel> </td> </tr> <tr> <td colspan="2"> <table border="1" width="100%"> <tr> <td colspan="2"> <table border="1" width="100%"> <tr> <td align="left"> <bean:message key="RunData.date.label"/>: </td> <td align="left" colspan="3"> <html:text property="date" size="10" maxlength="10" readonly="true"/> </td> </tr> <tr> <td align="left"> <bean:message key="RunData.distance.label"/>: </td> <td align="left"> <html:text property="distance" size="5" maxlength="5"/> </td> <td align="left"> <bean:message key="RunData.units.label"/>: </td> <td align="left"> <html:select property="units"> <html:option key="" value=""/> <html:options property="validUnitsValues"/> </html:select> </td> </tr> <tr> <td align="left"> <bean:message key="RunData.time.label"/>: </td> <td align="left"> <html:text property="time" size="12" maxlength="12"/> </td> <td align="left"> <bean:message key="RunData.pace.label"/>: </td> <td align="left"> <html:text property="pace" size="9" maxlength="9" readonly="true"/> </td> </tr> <tr> <td align="left"> <bean:message key="RunData.route.label"/>: </td> <td align="left"> <bean:define id="routes" name="RunData" property="validRouteValues"/> <html:select property="route"> <html:option key="" value=""/> <html:options collection="routes" labelProperty="displayValue" property="value"/> </html:select> </td> <td align="left"> <bean:message key="RunData.shoes.label"/>: </td> <td align="left"> <bean:define id="shoes" name="RunData" property="validShoeValues"/> <html:select property="shoes"> <html:option key="" value=""/> <html:options collection="shoes" labelProperty="displayValue" property="value"/> </html:select> </td> </tr> <tr> <td align="left"> <bean:message key="RunData.runType.label"/>: </td> <td align="left"> <bean:define id="runTypes" name="RunData" property="validRunTypeValues"/> <html:select property="runType"> <html:option key="" value=""/> <html:options collection="runTypes" labelProperty="displayValue" property="value"/> </html:select> </td> <td align="left"> </td> <td align="left"> </td> </tr> <tr> <td align="left" colspan="4"> <bean:message key="RunData.comments.label"/>: </td> </tr> <tr> <td colspan="4"> <html:textarea property="comments" rows="5" cols="50"/> </td> </tr> </table> </td> </tr> </table> </td> </tr></html:form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -