⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selectquestion_update.jsp

📁 Hibernate (著译者: 陈天河等)项目开发宝典本书以Hibernate为核心
💻 JSP
字号:
<%@ include file="/pub/jsp/common.jsp" %>
<html>
	<head>
		<title><bean:message key="question.btn.updateselect"/></title>
		<link rel="stylesheet" href="../pub/css/common.css">
		<html:javascript formName="selectQuestionForm" 
			dynamicJavascript="true" staticJavascript="true"/>
	</head>
	<body>
		<center>
			<h1><bean:message key="question.btn.updateselect"/></h1>
			<html:form action="/exam/selectquestion" method="post" focus="title" 
				onsubmit="return validateSelectQuestionForm( this );">
			<html:hidden property="p" value="save"/>
			<html:hidden name="question" property="id" />
			<input type="hidden" name="paperid" 
				value="<bean:write name="paper" property="id"/>">
			<html:errors />
			<table>
				<tr>
					<td><bean:message key="questionForm.title"/></td>
					<td><html:text property="title" name="question"/></td>
				</tr>
				<tr>
					<td><bean:message key="questionForm.score"/></td>
					<td><html:text property="score"  name="question"/></td>
				</tr>
				<tr>
					<td><bean:message key="questionForm.answer"/></td>
					<td>
						<html:select name="question" property="answer">
							<html:option value="A"/>
							<html:option value="B"/>
							<html:option value="C"/>
							<html:option value="D"/>
						</html:select>
					</td>
				</tr>
				<logic:iterate id="selected" name="question" property="selecteds">
				<tr>
					<td><bean:write name="selected" property="item"/></td>
					<td>
						<input type="text" name="<bean:write name="selected" 
							property="item"/>"
							value="<bean:write name="selected" property="content" />">
					</td>
				</tr>
				</logic:iterate>
				<tr>
					<td align="center" colspan="2">
						<html:submit>
							<bean:message key="btn.save"/>
						</html:submit>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<html:reset>
							<bean:message key="btn.reset"/>
						</html:reset>
					</td>	
				</tr>
			</table>
			</html:form>
			<!-- Display the return link. -->
			<table border="0">
				<tr>
					<td>
						<html:link href="question.do?p=list" paramId="paperid" 
							paramName="paper" paramProperty="id">
							<bean:message key="btn.back" />
						</html:link>
					</td>
				</tr>
			</table>
			<p>&nbsp;<p>
			<img src="../images/select.gif" width="200">
		</center>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -