posts - 431,  comments - 344,  trackbacks - 0

          <g:paginate next="Forward" prev="Back" maxsteps="0" controller="book" action="list" total="${Book.count()}" />

          Attributes
          total (required) - The total number of results to paginate
          action (optional) - the name of the action to use in the link, if not specified the default action will be linked
          controller (optional) - the name of the controller to use in the link, if not specified the current controller will be linked
          id (optional) - The id to use in the link
          params (optional) - A map containing request parameters
          prev (optional) - The text to display for the previous link (defaults to "Previous" as defined by default.paginate.prev property in I18n messages.properties)
          next (optional) - The text to display for the next link (defaults to "Next" as defined by default.paginate.next property in I18n messages.properties)
          max (optional) - The number of records displayed per page (defaults to 10). Used ONLY if params.max is empty
          maxsteps (optional) - The number of steps displayed for pagination (defaults to 10). Used ONLY if params.maxsteps is empty
          offset (optional) - Used ONLY if params.offset is empty
          source: ./checkout/grails/src/groovy/org/codehaus/groovy/grails/plugins/web/taglib/RenderTagLib.groovy (No such file or directory)


           

          posted on 2008-07-22 20:58 周銳 閱讀(1123) 評(píng)論(0)  編輯  收藏 所屬分類: Jsp
          主站蜘蛛池模板: 平顶山市| 绥芬河市| 西乌珠穆沁旗| 宣威市| 舒城县| 台中县| 庐江县| 习水县| 柏乡县| 日喀则市| 邢台市| 通道| 湘潭市| 金川县| 梨树县| 隆德县| 宁南县| 枣庄市| 高唐县| 甘南县| 咸阳市| 汕头市| 磴口县| 徐闻县| 靖江市| 昌宁县| 原阳县| 教育| 苍南县| 刚察县| 太仆寺旗| 鸡泽县| 揭西县| 西宁市| 肃宁县| 文水县| 临漳县| 广平县| 凤阳县| 抚松县| 曲周县|