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

Schedule Component TLD changes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.3-SNAPSHOT
    • 1.1.4-SNAPSHOT
    • Schedule
    • 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

      Attachments

        1. schedule-patch.txt
          15 kB
          Julian Ray
        2. schedule-example-patch.txt
          4 kB
          Julian Ray
        3. schedule-example-patch.txt
          4 kB
          Julian Ray
        4. schedule-example-patch1.txt
          10 kB
          Julian Ray

        Activity

          People

            jlust Jurgen Lust
            jray Julian Ray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: