diff --git a/YACOSWeb/WebContent/WEB-INF/classes/messages.properties b/YACOSWeb/WebContent/WEB-INF/classes/messages.properties
index b791527..3a97226 100644
--- a/YACOSWeb/WebContent/WEB-INF/classes/messages.properties
+++ b/YACOSWeb/WebContent/WEB-INF/classes/messages.properties
@@ -108,6 +108,7 @@ button.OK=OK
listarticle.title=Article's list
+manageArticle.title=Manage your article
preference.title=Choose the preference for articles
diff --git a/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp b/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp
index 3cc96b2..c4bd10e 100644
--- a/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp
+++ b/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp
@@ -59,7 +59,7 @@
diff --git a/YACOSWeb/WebContent/WEB-INF/jsp/manageArticle.jsp b/YACOSWeb/WebContent/WEB-INF/jsp/manageArticle.jsp
new file mode 100644
index 0000000..6ed5ea2
--- /dev/null
+++ b/YACOSWeb/WebContent/WEB-INF/jsp/manageArticle.jsp
@@ -0,0 +1,59 @@
+<%@ include file="/WEB-INF/decorators/include.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Details |
+ Download |
+ Modify |
+ Suppress |
+
+
+
+
+
+
+ - Title
+ - Author: Author
+ - Secondary Authors: Secondary
+ - Topic: Topic
+
+ |
+ Download the article |
+ Modify the article |
+ Suppress the article |
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml b/YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
index 7957e2a..7ca5419 100644
--- a/YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
+++ b/YACOSWeb/WebContent/WEB-INF/yacos-servlet.xml
@@ -27,6 +27,9 @@
ListArticleController
+
+
+ ManageArticleController
SUserRegistrationController
@@ -89,6 +92,12 @@
+
+
+
+
+
@@ -246,6 +255,10 @@
+
+
+
listArticleBean;
+
+ public List getListArticle() {
+ return listArticleBean;
+ }
+
+ public void setListArticle(List listArticleBean) {
+ this.listArticleBean = listArticleBean;
+ }
+
+ public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException, NoConferenceSelectedException {
+
+ logger.info("Returning manageArticle view");
+
+ listArticleBean = new ArrayList();
+
+ List listArticle;
+ listArticle = articleManager.getArticleOfAuthor(SessionService.getInstance().getCurrentConferenceId(), SessionService.getInstance().getCurrentUserLogin());
+
+ for (Article a : listArticle) {
+ ArticleBean ab = new ArticleBean();
+ ab.setId(a.getId());
+ ab.setMainAuthor(a.getMainAuthor().getFirstName() + " " + a.getMainAuthor().getLastName());
+ ab.setSecondaryAuthors(a.getSecondaryAuthors());
+ ab.setTitle(a.getTitle());
+ ab.setTopic(a.getTopic());
+ String fullUrl = request.getContextPath()+"/download.htm?articleId="+a.getId();
+ ab.setURL_article(fullUrl);
+ ab.setState(a.getState().toString());
+
+ listArticleBean.add(ab);
+ }
+
+ return new ModelAndView("manageArticle");
+ }
+
+
+ public IArticleManager getArticleManager() {
+ return articleManager;
+ }
+
+ public void setArticleManager(IArticleManager articleManager) {
+ this.articleManager = articleManager;
+ }
+
+}
\ No newline at end of file
diff --git a/YACOSWeb/src/org/yacos/web/author/form/ArticleBean.java b/YACOSWeb/src/org/yacos/web/author/form/ArticleBean.java
new file mode 100644
index 0000000..b97bf8c
--- /dev/null
+++ b/YACOSWeb/src/org/yacos/web/author/form/ArticleBean.java
@@ -0,0 +1,62 @@
+package org.yacos.web.author.form;
+
+import java.util.ArrayList;
+
+public class ArticleBean {
+
+ private int id;
+ private String title;
+ private String topic;
+ private String URL_article;
+ private String mainAuthor;
+ private ArrayList secondaryAuthors;
+ private String state;
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public ArticleBean() {}
+
+ public int getId() {
+ return id;
+ }
+ public void setId(int id) {
+ this.id = id;
+ }
+ public String getTitle() {
+ return title;
+ }
+ public void setTitle(String title) {
+ this.title = title;
+ }
+ public String getTopic() {
+ return topic;
+ }
+ public void setTopic(String topic) {
+ this.topic = topic;
+ }
+ public String getURL_article() {
+ return URL_article;
+ }
+ public void setURL_article(String url_article) {
+ URL_article = url_article;
+ }
+ public String getMainAuthor() {
+ return mainAuthor;
+ }
+ public void setMainAuthor(String mainAuthor) {
+ this.mainAuthor = mainAuthor;
+ }
+ public ArrayList getSecondaryAuthors() {
+ return secondaryAuthors;
+ }
+ public void setSecondaryAuthors(ArrayList secondaryAuthors) {
+ this.secondaryAuthors = secondaryAuthors;
+ }
+
+}