<%@ include file="/WEB-INF/decorators/include.jsp"%>

<html>
<head></head>
<body>

<h4 class="title">NO NAME</h4>

	<c:if test="${errorMessage != null}">
		<span class="formError">
		<c:choose>
			<c:when test="${errorMessage == 1}"><fmt:message key="message.error.noconferenceforthisid" /></c:when>
			<c:when test="${errorMessage == 2}"><fmt:message key="message.error.noconferenceid" /></c:when>
			<c:otherwise><fmt:message key="message.error.conferenceerror" /></c:otherwise>
		</c:choose>
		</span><br />
	</c:if>


	Choix de la conference	<br /><br />	
	
	<c:if test="${currentConferenceId!=null}">
		La conférence courante est : ${currentConference.title}.<br /><br />
	</c:if>
	<c:if test="${currentConferenceId==null}">
		Il n'y a pas de conférence sélectionné.<br /><br />
	</c:if>
	
	<c:choose>
		<c:when test="${empty listConference}">
			Il n'y a pas de conférence pré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.htm"/>">Home</a>

</body>
</html>
