code: public static void printPageList(ChainWriter out, WebSiteRequest req, HttpServletResponse resp, WebPage[] pages, WebPageLayout layout) throws IOException, SQLException {
  		int len = pages.length;
  		for (int c = 0; c < len; c++) {
  			WebPage page = pages[c];
  			out.print("  <tr>\n"
  					+ "    <td style='white-space:nowrap'><a class='aoLightLink' href='").encodeXmlAttribute(req==null?"":resp.encodeURL(req.getContextPath()+req.getURL(page))).print("'>").encodeXhtml(page.getShortTitle()).print("</a>\n"
  					+ "    </td>\n"
  					+ "    <td style='width:12px; white-space:nowrap'>&#160;</td>\n"
  					+ "    <td style='white-space:nowrap'>").encodeXhtml(page.getDescription()).print("</td>\n"
  					+ "  </tr>\n");
  		}
  	}
docs: Prints a list of pages.