61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title><fmt:message key="title" /></title>
|
|
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
function Ajouter(form) {
|
|
var o=new Option(form.mainauthor.value);
|
|
form.liste.options[form.liste.options.length]=o;
|
|
}
|
|
function Ajouter2(form) {
|
|
var o=new Option(form.secondaryauthor.value);
|
|
form.liste.options[form.liste.options.length]=o;
|
|
}
|
|
</SCRIPT>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
|
|
|
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
|
|
|
|
|
|
<fmt:message key="form.submission.article.title" /> <form:input path="title"/> <br/><br />
|
|
<fmt:message key="form.submission.article.theme" /> <form:input path="theme"/> <br/><br />
|
|
|
|
<hr /> <br />
|
|
|
|
<fmt:message key="form.submission.listauthor" /> <br /><br />
|
|
<fmt:message key="form.submission.mainauthor" /> <form:input path="mainauthor" />
|
|
<input type="button" name="addMain" onClick="Ajouter(this.form)" value=<fmt:message key="button.add" />> <br/><br />
|
|
<fmt:message key="form.submission.secondaryauthor" /> <form:input path="secondaryauthor" />
|
|
<input type="button" name="addSecondary" onClick="Ajouter2(this.form)" value=<fmt:message key="button.add" />> <br/><br />
|
|
|
|
<form:select path="liste" size="5" itemValue="test">
|
|
|
|
</form:select>
|
|
<br />
|
|
|
|
<hr />
|
|
|
|
File : <input type="file" name="file"/>
|
|
|
|
<br /><br />
|
|
|
|
<input type="submit" value=<fmt:message key="button.cancel" />>
|
|
<input type="submit" value=<fmt:message key="button.OK" />> <br/><br/>
|
|
|
|
</form:form>
|
|
|
|
|
|
|
|
<a href="<c:url value="main.htm"/>">Home</a>
|
|
</body>
|
|
|
|
</html> |