Policy failures: Code warning - failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 37 - failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 38 - failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 62 - failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 63 - failed on resource ChoosePreferenceControllerOK.java. Reason: The import java.util.Date is never used, line 14 ... and more. Override reason: haha
56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
|
<%@ page session="false" %>
|
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
|
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
<form:label path="title"><fmt:message key="form.submission.article.title" /></form:label> <form:input path="title"/> <br/><br />
|
|
<form:label path="theme"><fmt:message key="form.submission.article.theme" /></form:label> <form:input path="theme"/> <br/><br />
|
|
|
|
<hr /> <br />
|
|
|
|
<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" />
|
|
<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>
|
|
<br /><br />
|
|
|
|
<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" /> |