ENGAGE-222: Conform the paging mechanism in engage to the model used by the Pager in infusion

Metadata

Source
ENGAGE-222
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2010-01-11T11:19:26.000-0500
Updated
2010-01-12T09:33:12.000-0500
Versions
N/A
Fixed Versions
  1. 0.3b
Component
N/A

Description

Conform the paging mechanism in engage to the model used by the Pager in infusion

The Pager has a model that looks like this:

model: {
pageIndex: undefined,
pageSize: 10,
totalRange: undefined
}

Currently the paging in engage doesn't have a formal model and splits this information up into

that.dataInfo.setSize
that.dateInfo.numSets
that.setNumber

Making the paging in engage conform to the Pagers model will simplify moving over to using the Pager in engage.

Comments

  • Justin Obara commented 2010-01-12T09:33:12.000-0500

    resolved at r8974

    Refactored the paging to conform to the model used by the, forthcoming, Pager from Infusion. The only difference being that the model used here has the pageCount included.