home *** CD-ROM | disk | FTP | other *** search
- <%@ page
- import="com.websina.bean.*,com.websina.util.*,com.websina.util.log.Log"
- %>
- <html>
- <head>
- <title>Bugzero Homepage</title>
- </head>
- <body topmargin=0>
- <%@ include file="_cache.jspf" %>
- <%@ include file="_header.jspf" %>
- <%
- String parent = "home.jsp";
- String noIssue = "no_active_issue";
- Issue[] issueList = null;
-
- com.websina.bean.Query query = person.getQuery();
-
- int startIndex = 0;
- String startStr = request.getParameter("startIndex");
- if (startStr != null && startStr.trim().length() > 0) {
- try {
- startIndex = Integer.parseInt(startStr.trim());
- } catch (Exception e) {
- startIndex = 0;
- }
- issueList = (Issue[])session.getAttribute("issueList");
- }
- if (issueList == null) {
- startIndex = 0;
- query.loadFilter();
- issueList = query.list();
- session.setAttribute("issueList", issueList);
- String sortOrder = query.getSortOrder();
- if (sortOrder != null) {
- session.setAttribute("sort_field", sortOrder);
- }
- }
-
- String[] showColumns = query.getShowColumns();
- int showNumbers = query.getShowNumbers();
- if (showNumbers == 0) {
- showNumbers = 10;
- query.setShowNumbers(showNumbers);
- }
-
- %>
-
- <%@ include file="_issuelist.jspf" %>
-
- </body></html>
-