UC Choose Conference 75%, can choose, but no filter for member of website

This commit is contained in:
Nicolas Michard
2008-01-10 16:30:52 +00:00
parent 4067e5e96c
commit 184adc8fb3
8 changed files with 160 additions and 3 deletions

View File

@@ -31,4 +31,7 @@ dispatch.title=Dispatch the articles to the members
conference.titleMenu=Add a conference
conference.title=Title
conference.description=Description
conference.otherInformations=Complementary information
conference.otherInformations=Complementary information
conference.linkMenu.title=Adding Conference
conference.linkMenu.choose=Choosing current conference
conference.linkMenu.change=Change current conference

View File

@@ -1,5 +1,4 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

View File

@@ -0,0 +1,62 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center">Choose a conference</h2>
Choix de la conference <br /><br />
<c:if test="${idCurrentConference!=null}">
La conf<6E>rence courante est : ${idCurrentConference}.<br /><br />
</c:if>
<c:if test="${idCurrentConference==null}">
Il n'y a pas de conf<6E>rence s<>lectionn<6E>.<br /><br />
</c:if>
<c:choose>
<c:when test="${empty listConference}">
Il n'y a pas de conf<6E>rence pr<70>sente.<br />
</c:when>
<c:otherwise>
<c:forEach items="${listConference}" var="conference">
<div class="conferenceBloc">
ID : ${conference.id}<br />
Title : ${conference.title}<br />
Description : ${conference.description}<br />
Other Informations : ${conference.otherInformations}<br />
<center>
<a href="<c:url value="/chooseConference.htm?idConf=${conference.id}" />">Choisir</a><br />
</center>
</div>
</c:forEach>
</c:otherwise>
</c:choose>
<br />
<a href="<c:url value="main"/>">Home</a></div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body>
</html>

View File

@@ -16,7 +16,16 @@
<div class="miniBloc">
<div class="header">Status</div>
<div class="content">
Affichage status de connexion
<c:choose>
<c:when test="${idCurrentConference!=null}">
La conf<6E>rence courante est : ${idCurrentConference}.<br />
<a href="<c:url value="listConference.htm"/>"><fmt:message key="conference.linkMenu.change" /></a>
</c:when>
<c:otherwise>
Il n'y a pas de conf<6E>rence courante.<br />
<a href="<c:url value="listConference.htm"/>"><fmt:message key="conference.linkMenu.choose" /></a>
</c:otherwise>
</c:choose>
</div>
<div class="footer">&nbsp;</div>
</div>

View File

@@ -73,6 +73,15 @@
<property name="successView" value="addConference2.htm" />
<property name="conferenceManager" ref="conferenceManager" />
</bean>
<!-- List all conference -->
<bean name="/listConference.htm" class="org.yacos.web.system.controller.ListConferenceController">
<property name="conferenceManager" ref="conferenceManager" />
</bean>
<!-- Get chosen conference in session context -->
<bean name="/chooseConference.htm" class="org.yacos.web.system.controller.ChooseConferenceController">
</bean>
<!-- View Resolver -->