addalbumlabels.jsp

来自「Beginning Spring 2 源代码」· JSP 代码 · 共 59 行

JSP
59
字号
<%@ include file="/WEB-INF/jsp/include.jsp" %>

<html>
<head>
	<title><spring:message code="title.albumLabel"/></title>
	
	<!-- to correct the unsightly Flash of Unstyled Content. 
		 http://www.bluerobot.com/web/css/fouc.asp -->
	<script type="text/javascript"></script>
    
    <style type="text/css" media="all">
        @import "<c:url value="/css/pixweb.css" />";
    </style>
</head>

<body onLoad="document.addAlbumLabelForm.name.focus();">

<div id="container">
	<div id="intro">
		<div id="pageHeader">
			<img src="<c:url value="/img/pixweb-logo.jpg" />" width="400">
			<h2><span><spring:message code="subheader.albumLabel"/></span></h2>
		</div>

		<div id="quickSummary">
			<p class="p1"><span>
				<spring:message code="message.albumLabel" />
			</span></p>
		</div>
	</div>
	<div id="form">
		<form:form commandName="album" name="addAlbumLabelForm">
    	<form:errors path="*" />
    		<table>
			<tr>
				<td align="right"><spring:message code="albumLabels.label" /></td>
				<td>
					<c:forEach items="${album.labels}" var="label">
						<form:checkbox path="labels" value="${label}" />${label} <br />
					</c:forEach>
				</td>
		        <td><form:errors path="labels" /></td>
			</tr>
			<tr>
				<td colspan="3">&nbsp;</td>
			</tr>
			<tr>
				<td colspan="3">
					<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/>
					<input type="submit" class="button" name="_eventId_next" value="Next"/>
				</td>
			</tr>
			</table>
		</form:form>
	</div>
</div>

</body>
</html>

⌨️ 快捷键说明

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