Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1060

Refactor AbstractScheduleModel to allow lazy initialisation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.6
    • 1.1.7
    • Schedule
    • None

    Description

      Currently setting the selected date also initialises the days and events. If the model is stored in request scope and the state is being restored only to change the selected date, then it is not necessary to load the days and events until the selected date has been changed.

      The refactor therefore takes out the initialisation from setSelectedDate(), and instead ensures that it occurs only when first needed.

      Attachments

        Activity

          People

            pmahoney Peter Mahoney
            pmahoney Peter Mahoney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: