You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2007/07/20 09:25:06 UTC
[jira] Created: (TOMAHAWK-1060) Refactor AbstractScheduleModel to
allow lazy initialisation
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.
[jira] Resolved: (TOMAHAWK-1060) Refactor AbstractScheduleModel to
allow lazy initialisation
Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Mahoney resolved TOMAHAWK-1060.
-------------------------------------
Resolution: Fixed
> 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.