Uploaded image for project: 'Click'
  1. Click
  2. CLK-41

Table Paging not working with Page onGet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      The paging for a Table control is not working when the table is filled from the onGet() method.
      In this case, the page numbers/links are displayed, and click-able, but always remains page 1 active.

      How to reproduce:
      1. use the click-examples
      2. in TablePaging, create an onGet() method.
      3. move from the onIntit() method the following lines to the new onGet() :
      =====
      List customers = CustomerDAO.getCustomersSortedByName();
      table.setRowList(customers);
      =====
      3. Now see yourself.

        Attachments

          Activity

            People

            • Assignee:
              medgar Malcolm Edgar
              Reporter:
              amohombe Ahmed Mohombe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: