modify Pattern view for error in eclipse, more complex but no error
This commit is contained in:
@@ -1,24 +1,35 @@
|
||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||
<%@ page session="false" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title><fmt:message key="title"/></title>
|
||||
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||
<script language="JavaScript">
|
||||
function Ajouter(form) {
|
||||
var o=new Option(form.secondaryauthor.value);
|
||||
form.liste.options[form.liste.options.length]=o;
|
||||
}
|
||||
|
||||
function Supprimer(form) {
|
||||
form.liste.options[form.liste.options.selectedIndex]=null;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||
|
||||
<div class="mainBloc">
|
||||
<div class="header"> </div>
|
||||
<div class="content">
|
||||
|
||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||
<div id="main_content">
|
||||
|
||||
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
function Ajouter(form) {
|
||||
var o=new Option(form.secondaryauthor.value);
|
||||
form.liste.options[form.liste.options.length]=o;
|
||||
}
|
||||
|
||||
function Supprimer(form) {
|
||||
form.liste.options[form.liste.options.selectedIndex]=null;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
||||
|
||||
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
|
||||
@@ -31,26 +42,34 @@ function Supprimer(form) {
|
||||
|
||||
<label for="listauthor"><fmt:message key="form.submission.listauthor" /></label> <br /><br />
|
||||
<form:label path="mainauthor"><fmt:message key="form.submission.mainauthor" /></form:label> <form:input path="mainauthor" /> <br/><br />
|
||||
<form:label path="secondaryauthor"><fmt:message key="form.submission.secondaryauthor" /></form:label> <form:input path="secondaryauthor" />
|
||||
<form:label path="secondaryauthor"><fmt:message key="form.submission.secondaryauthor" /></form:label> <form:input path="secondaryauthor" />
|
||||
<input type="button" name="addSecondary" onClick="Ajouter(this.form)" value=<fmt:message key="button.add" />> <br/><br />
|
||||
|
||||
<form:select path="liste" size="5" ondblclick="Supprimer(this.form)" multiple="true">
|
||||
|
||||
</form:select>
|
||||
<form:select path="liste" size="5" ondblclick="Supprimer(this.form)" multiple="true">
|
||||
|
||||
</form:select>
|
||||
<br /><br />
|
||||
|
||||
<hr />
|
||||
<br />
|
||||
File <input type="file" name="file"/>
|
||||
|
||||
<hr />
|
||||
<br />
|
||||
File <input type="file" name="file"/>
|
||||
|
||||
<br /><br />
|
||||
|
||||
<input type="reset" value="<fmt:message key="button.reset" />"/>
|
||||
<input type="submit" value="<fmt:message key="button.OK" />"/> <br/><br/>
|
||||
|
||||
</form:form>
|
||||
|
||||
|
||||
|
||||
<a href="<c:url value="main.htm"/>">Home</a>
|
||||
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||
|
||||
|
||||
|
||||
<a href="<c:url value="main.htm"/>">Home</a>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer"> </div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user