Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.3-SNAPSHOT
-
None
-
All
Description
I would like to propose some changes to the TLD for the sandbox Schedule component as follows:
[1] Add a requried "mode" property (String) with values "day" "workweek" "week" "month"
[2] Add an optional "selectedDate" property (Date) value binding which sets the current date
[3] Change the definition of the "entryRenderer" property to be an optional value binding.
The reasons for [1] and [2] are that it allows better seperation of the model from the view (and backing bean if used) especially for key view properties. These properties must currently be set on the model which propagates their effect to the view.
[3] is motivated by a need to subclass ScheduleEntryRenderer and allow additional properties to be used during the rendering. Currently, the property takes a class name and creates an instance using a default constructor.
I can submit a patch implementing these changes.
Julian