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 周銳 閱讀(1118) 評論(0)  編輯  收藏 所屬分類: Jsp
          主站蜘蛛池模板: 吉安市| 红安县| 英吉沙县| 甘洛县| 太康县| 九台市| 都匀市| 正镶白旗| 南安市| 河津市| 怀安县| 砀山县| 桐城市| 盐城市| 嘉鱼县| 当涂县| 长垣县| 获嘉县| 修水县| 五大连池市| 商城县| 咸宁市| 友谊县| 乌兰浩特市| 武胜县| 奉新县| 安康市| 永新县| 庆城县| 巩义市| 留坝县| 乐平市| 炉霍县| 庐江县| 张家界市| 山东省| 陆良县| 陇西县| 鄂托克旗| 泰来县| 洪洞县|