<%@ page import="java.text.SimpleDateFormat" %> <%@ page import="org.crosswire.xml.XMLRepo"%> <%@ page import="org.crosswire.xml.XMLObject"%> <%@ page import="org.crosswire.community.data.Project"%> <%@ page import="org.crosswire.community.data.User"%> <% String _root = session.getServletContext().getContextPath(); String _action = (String)request.getParameter("action"); if ("logout".equals(_action)) {session.setAttribute("user", null);} User _user = (User)session.getAttribute("user"); if (_user == null || !"scribe".equals(_user.getID())) { session.setAttribute("loginDestination", request.getRequestURI()); out.print(""); return; } %> Community @ CrossWire Bible Society
<% XMLRepo repo = XMLRepo.instance(pageContext); XMLObject[] projects = repo.getObjects(new Project()); %> <% for (XMLObject o : projects) { Project p = (Project)o; %> <% } %>
ProjectID Project Name Admin Email
<%=p.getID()%><%=p.getFullName()==null?"":p.getFullName()%><%=p.getEMail()==null?"":p.getEMail()%>