Code warning - failed on resource PCMemberBean.java. Reason: The import org.yacos.core.article.Preference.PreferenceType is never used, line Override reason: d
67 lines
1.6 KiB
Plaintext
67 lines
1.6 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>
|
|
<br/>
|
|
|
|
<b>members of the conference</b>
|
|
|
|
<table border="1px" 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>${m.preference}</td>
|
|
<td>${m.nbArticles}</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="${am.login}">
|
|
${am.firstName} ${am.lastName}
|
|
</option>
|
|
</c:forEach>
|
|
</select>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|