Ajout d'un report lors de la création de la conf, ce report pourra être utilisé pour avoir les infos de la conf.

--> A finir
This commit is contained in:
Frederic Debuire
2008-02-17 15:17:15 +00:00
parent 7fde84ea7b
commit 02fa9ab525
5 changed files with 131 additions and 2 deletions

View File

@@ -0,0 +1,58 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head>
</head>
<body>
<h4 class="title">Conference created</h4>
<p class="formOk">
Your conference has been successfully created.<br/>
Here is a report of the conference's informations.<br/><br/>
Any moment you can edit the configuration of the conference using the item menu "Modify this conference".<br/>
If you want to modify it now, just click <a href="addConference.htm?action=modify" title="Modify the conference">here</a><br/>
</p>
<div id="account_data">
<fieldset>
${conferenceReport.title}<br />
${conferenceReport.description}<br />
${conferenceReport.otherInformations}<br />
<br />
Chairman: <b>${conferenceReport.chairman.firstName} ${conferenceReport.chairman.lastName}</b><br />
<br />
<b>Important dates</b>
${conferenceReport.dateArticle}<br />
${conferenceReport.dateEvaluation}<br />
${conferenceReport.dateStart}<br />
${conferenceReport.dateEnd}<br />
<br />
<c:if test="${not empty criterionReport}">
<b>Criterion's list </b><br />
</c:if>
<c:forEach items="${criterionReport}" var="crit">
${crit.name} ${crit.min_rating} ${crit.max_rating}<br />
</c:forEach>
<c:if test="${not empty userReport}">
<b>PCmember's list </b><br />
</c:if>
<c:forEach items="${userReport}" var="user">
<b>${user.firstName} ${user.lastName}</b><br />
</c:forEach>
</fieldset>
</div>
<a href="<c:url value="main.htm"/>">Home</a>
</body>
</html>

View File

@@ -30,6 +30,7 @@
<prop key="/dispatchArticleList.htm">DispatchArticleListController</prop>
<prop key="/dispatchArticle.htm">DispatchArticleController</prop>
<prop key="/addConference.htm">AddConferenceController</prop>
<prop key="/reportConfCreate.htm">ReportConfCreateController</prop>
<prop key="/evaluation.htm">EvaluationController</prop>
<prop key="/createReport.htm">CreateReportController</prop>
<prop key="/listConference.htm">ListConferenceController</prop>
@@ -164,6 +165,12 @@
<property name="evaluationManager" ref="evaluationManager" />
<property name="validator" ref="ConferenceValidator" />
</bean>
<bean id="ReportConfCreateController"
class="org.yacos.web.chairman.controller.ReportConfCreateController">
<property name="conferenceManager" ref="conferenceManager" />
<property name="evaluationManager" ref="evaluationManager" />
<property name="userManager" ref="userManager" />
</bean>
<bean id="ConferenceValidator"
class="org.yacos.web.chairman.validation.ConferenceValidator">