FLUID-4035: Update the Pager to use IoC

Metadata

Source
FLUID-4035
Type
Task
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Anastasia Cheetham
Created
2011-01-20T11:24:40.396-0500
Updated
2013-09-18T11:25:16.853-0400
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. Pager

Description

Comments

  • Antranig Basman commented 2013-05-25T05:16:10.468-0400

    The pager contains "conditionally present" subcomponents. The original plan was to tackle this issue via the medium of "fallible views" - components that on discovering a missing prerequisite such as no container in the DOM, would return "null" from their creator function. However, this workflow is at odds with the FLUID-4330 ginger world semantic whereby a value, "once seen" should never be found to be absent or changed during a particular "instantiation fit". Therefore a component which returns null from its creator is not a valid construction - as a result, we must provide a mechanism which allows the creation of components to be blocked through checking their prerequisites BEFORE construction.

    As a result, we moved up and wrote up the requirement for FLUID-5022 which had been in the background for a while, and decided to implement the Pager's "fallible components" (such as the 2nd PagerBar, etc.) in terms of this mechanism.

  • Antranig Basman commented 2013-07-22T21:12:40.807-0400

    Merged into trunk at revision acf4633