Package easyJ.database.dao

Examples of easyJ.database.dao.Page


    if (effectList.size() != 0)
      buffer.append("<th>操作</th>");

    buffer.append("</tr>\n");
    if (request.getAttribute(Globals.PAGE) != null) {
      Page page = (Page) request.getAttribute(Globals.PAGE);
      ArrayList dataList = page.getPageData();
      int dataSize = dataList.size();
      for (int i = 0; i < dataSize; i++) {
        Object object = dataList.get(i);

        String primaryKey = (String) BeanUtil.getPubStaticFieldValue(
View Full Code Here


  /* position 代表是执行哪个部分的查询,包括主查询和弹出窗口查询,对应两个js文件,Data.js和PopUpWindow.js */
  public static StringBuffer getPage(HttpServletRequest request,
      String postion, boolean editable) {
    StringBuffer buffer = new StringBuffer();
    buffer.append("<table><tr><td>\n");
    Page aPage = (Page) request.getAttribute(Globals.PAGE);
    Long totalPage = null;
    Long totalNum = null;
    if (aPage != null) {
      totalPage = aPage.getTotalPage();
      totalNum = aPage.getTotalNum();
    }
    buffer.append("总条数:" + totalNum + " 共" + totalPage + "页 </td>");
    buffer.append("<td align=\"right\">");

    String actionName = request.getParameter("actionName");
View Full Code Here

TOP

Related Classes of easyJ.database.dao.Page

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.