66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
<%@ include file="/WEB-INF/decorators/include.jsp"%>
|
|
|
|
<html>
|
|
<head>
|
|
|
|
<script type='text/javascript' src='./dwr/engine.js'></script>
|
|
<script type='text/javascript' src='./dwr/util.js'></script>
|
|
<script type='text/javascript' src='./dwr/interface/DispatchArticlesJS.js'></script>
|
|
<script type='text/javascript' src='./javascripts/prototype.js'></script>
|
|
|
|
<script type='text/javascript'>
|
|
function addMember(memberId, articleId){
|
|
DispatchArticlesJS.addMember(memberId, articleId, fillTable)
|
|
}
|
|
function fillTable(data) {
|
|
alert("data: "+ data);
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<h4 class="title">NO NAME</h4>
|
|
|
|
<h4 class="title"><fmt:message key="disptachArticle.choose" /></h4>
|
|
|
|
<p>
|
|
Article's description :
|
|
<br/>title : ${article.title}
|
|
<br/> theme: ${article.topic}
|
|
<br/> main author: ${article.mainAuthor.firstName}{article.mainAuthor.lastName}
|
|
<br/><a href="${article.URL_article}">download the article</a>
|
|
</p>
|
|
|
|
<b>members of the conference</b>
|
|
|
|
<table id="members">
|
|
<tr>
|
|
<th>name</th>
|
|
<th>preference</th>
|
|
<th>nb of articles for this conference</th>
|
|
<th></th>
|
|
</tr>
|
|
<c:forEach var="m" items="${members}">
|
|
<tr>
|
|
<td>${m.firstName} ${m.lastName}(0)</td>
|
|
<td>???</td>
|
|
<td>0</td>
|
|
<td><a href="" onclick="addMember('${m.login}', '${article.id}');"/>add</a></td>
|
|
</tr>
|
|
</c:forEach>
|
|
</table>
|
|
|
|
<select>
|
|
<c:forEach var="am" items="${ArticleMembers}">
|
|
<option value="${m.login}">
|
|
${m.firstName} ${m.lastName}(0)
|
|
</option>
|
|
</c:forEach>
|
|
</select>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|