Subversion Repositories bacoAlunos

Rev

Rev 1703 | Rev 1712 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1703 Rev 1711
Line 34... Line 34...
34
            {
34
            {
35
                for(RepositoryDocumentCollection child: collection.getChilds())
35
                for(RepositoryDocumentCollection child: collection.getChilds())
36
                {
36
                {
37
                    request.setAttribute("collection",child);
37
                    request.setAttribute("collection",child);
38
            %>
38
            %>
39
                    <jsp:include page="collectionsInterfaceCol.jsp"/>
39
                    <jsp:include page="showInterfaceDocsFragment.jsp"/>
40
            <%
40
            <%
41
                }
41
                }
42
            }
42
            }
43
                Criteria c = AbstractDao.getCurrentSession().createCriteria(RepositoryDocument.class);
43
                Criteria c = AbstractDao.getCurrentSession().createCriteria(RepositoryDocument.class);
44
 
44
 
Line 49... Line 49...
49
                List<RepositoryDocument> documents = c.list();
49
                List<RepositoryDocument> documents = c.list();
50
                if(documents!=null && documents.size() > 0)
50
                if(documents!=null && documents.size() > 0)
51
                {
51
                {
52
                    request.setAttribute("documents",documents);
52
                    request.setAttribute("documents",documents);
53
                    %>
53
                    %>
54
                    <jsp:include page="collectionsInterfaceDocs.jsp"/>
54
                    <jsp:include page="showInterfaceDocsFragment.jsp"/>
55
                    <%
55
                    <%
56
                }
56
                }
57
 
57
 
58
            %>
58
            %>
59
 
59