Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-748

Add support to ModelList to Scheduler component

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: Scheduler
    • Labels:
      None

      Description

      Add support to Scheduler to handle ModelList instead of regular arrays.

      This change will allows to take advantage of ModelList api and also its asynchronous features, such as save/load events.

      • The "events" attribute should be removed.
      • Scheduler can initialize an internal _events ModelList models trough a config.items property, e.g. new A.Scheduler( { items: modelList }

        )

      • Scheduler items should be initialized with any of those values: model, [model], modelList, [modelList], {} and [{}].
      • Scheduler addEvents/removeEvents public methods should be available and supports any values from the example of the previous item.
      • A.SchedulerCalendar should be converted to a ModelList in order to be compatible with the new api listed in the previous items.

        Attachments

          Activity

            People

            • Assignee:
              eduardo.lundgren Eduardo Lundgren
              Reporter:
              eduardo.lundgren Eduardo Lundgren
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 33 weeks, 4 days ago

                Packages

                Version Package
                1.7.0