[Castore-commits] view.jsp NONE 1.1

Arnaud Thimel thimel at adullact1.hosting.cri74.org
Mer 14 Juin 20:28:09 CEST 2006


Update of /cvsroot/castore/castore-portlets/src/webapp/WEB-INF/pages/colls
In directory adullact1:/tmp/cvs-serv8222/src/webapp/WEB-INF/pages/colls

Added Files:
	view.jsp 
Log Message:
Commit de castore-portlets

--- NEW FILE: view.jsp ---
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page isELIgnored="false"%>
<portlet:defineObjects/>

<fmt:setBundle basename="fr.emn.castor.portlets.messages.Collections"/>
<c:set var="ns" value="mycollections"></c:set>

<div class="castore-portlet"><div class="castore-page">

<jsp:include page="../common/messages.jsp"/>

<div class="TextMessageAccueil"><fmt:message key="${ns}.mycollections"/></div>

<c:set var="depth" value="0"/>

<c:if test="${empty selectedId}">
  <c:set var="selectedId" scope="request" value="-1"/>
</c:if>

<div class="left-half">
<div class="box">

<div class ="TitreBase"><fmt:message key="${ns}.privatecolls"/></div>
<hr>
<div class="Couleur3">
  <c:choose>
    <c:when test="${privateColls.childCount > 0}">
      <c:forEach var="privateColl" items="${privateColls.children}">
        <c:set scope="request" var="currentColl" value="${privateColl}"/>
        <jsp:include page="../common/tree.jsp">
          <jsp:param name="depth" value="${depth + 1}"/>
        </jsp:include>
      </c:forEach>
    </c:when>
    <c:otherwise>
      <span class="empty"><fmt:message key="${ns}.collection.empty"/></span>
    </c:otherwise>
  </c:choose>
</div>

</div>
<div class="box">

<div class ="TitreBase"><fmt:message key="${ns}.publiccolls"/></div>
<hr>
<div class="Couleur3">
  <c:choose>
    <c:when test="${publicColls.childCount > 0}">
      <c:forEach var="publicColl" items="${publicColls.children}">
        <c:set scope="request" var="currentColl" value="${publicColl}"/>
        <jsp:include page="../common/tree.jsp">
          <jsp:param name="depth" value="${depth + 1}"/>
        </jsp:include>
      </c:forEach>
    </c:when>
    <c:otherwise>
      <span class="empty"><fmt:message key="${ns}.collection.empty"/></span>
    </c:otherwise>
  </c:choose>
</div>

</div>
<div class="box">

<div class ="TitreBase"><fmt:message key="${ns}.panier"/></div>
<hr>
<div class="Couleur3">
  <c:forEach var="panierColl" items="${panier.children}">
    <c:if test="${selectedId == panierColl.id}">
      <div class="selected">
    </c:if>
    <span style="padding : 0px 0px 0px 0px;">
        <a class="treeNeutre" href="<portlet:actionURL/>&collId=${panierColl.id}">
          <fmt:message key="${ns}.clicktoseepanier"/>
        </a>
    </span>
    <c:if test="${selectedId == panierColl.id}">
      </div>
    </c:if>
  </c:forEach>
</div>

</div>
</div><!-- (class="left-half")-->

<div class="right-half">
  <c:if test="${!empty coll}">
    <div class="box">
      <div class ="TitreBase"><fmt:message key="${ns}.collection.detail"/></div>
      <fmt:message key="${ns}.collection.name"/> : ${coll.collName}<br>
      <fmt:message key="${ns}.collection.description"/> : ${coll.collDesc}<br>
      <hr>
      <fmt:message key="${ns}.collection.documentslist"/> : <br>
      <c:choose>
        <c:when test="${empty coll.documents}">
          <span class="empty"><fmt:message key="${ns}.collection.documentslist.empty"/></span><br>
        </c:when>
        <c:otherwise>
          <c:forEach var="entry" items="${coll.documents}">
            <c:set var="doc" value="${entry}" scope="request"/>
            <jsp:include page="../common/doc.jsp"/>
            <hr>
          </c:forEach>
        </c:otherwise>
      </c:choose>
    </div>
  </c:if>
  <c:if test="${empty coll}">
    <div align="center">
      <span class="empty"><fmt:message key="${ns}.noselection"/></span>
    </div>
  </c:if>
</div>

<div class="nowrap"/>

</div></div>




Plus d'informations sur la liste de diffusion Castore-commits