Changement de la méthode pour l'envoie du fichier...
This commit is contained in:
@@ -5,13 +5,25 @@
|
||||
|
||||
<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" commandName="submissionArticle">
|
||||
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
|
||||
|
||||
|
||||
<fmt:message key="form.submission.article.title" /> <form:input path="title"/> <br/><br />
|
||||
@@ -20,12 +32,21 @@
|
||||
<hr /> <br />
|
||||
|
||||
<fmt:message key="form.submission.listauthor" /> <br /><br />
|
||||
<fmt:message key="form.submission.mainauthor" /> <form:input path="mainauthor"/> <input type="submit" name="addMain" value=<fmt:message key="button.add" />> <br/><br />
|
||||
<fmt:message key="form.submission.secondaryauthor" /> <form:input path="secondaryauthor"/> <input type="submit" name="addSecondary" value=<fmt:message key="button.add" />> <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 />
|
||||
|
||||
<textarea name="AreaAuthor" rows=10 cols=40></textarea> <br />
|
||||
<form:select path="liste" size="5" itemValue="test">
|
||||
|
||||
</form:select>
|
||||
<br />
|
||||
|
||||
<hr /> <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/>
|
||||
|
||||
Reference in New Issue
Block a user