DisplayTag
  1. DisplayTag
  2. DISPL-455

The documentation for external sorting / partial lists uses incorrect parameter name which could allow users to believe the functionality does not work.

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Application server:
      n/a

      Description

      The documentation for external sorting / partial lists indicates the following line of code should be used to determine the specific page that the displaytag has passed back to the request:

      To determine the starting record you need to return based on the request parameters provided via Display Tag you can do:

      (Integer.parseInt(request.getParameter((new ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_ORDER)))) - 1) * pageSize

      I believe the correct parameter should be:

      (Integer.parseInt(request.getParameter((new ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_PAGE)))) - 1) * pageSize

        Activity

        There are no comments yet on this issue.

          People

          • Reporter:
            Rick Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: