Refactor AbstractScheduleModel to allow lazy initialisation
-----------------------------------------------------------

                 Key: TOMAHAWK-1060
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1060
             Project: MyFaces Tomahawk
          Issue Type: Improvement
          Components: Schedule
    Affects Versions: 1.1.6
            Reporter: Peter Mahoney
            Assignee: Peter Mahoney
             Fix For: 1.1.7-SNAPSHOT


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to