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

Support select-week and select-month in tomahawk calendar

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.7-SNAPSHOT
    • Fix Version/s: 1.1.7
    • Component/s: Calendar
    • Labels:
      None

      Description

      At the moment, the tomahawk calendar control only supports selecting a specific day.
      I would like to enhance t:inputCalendar to support a "selectMode" attribute:

      selectMode=day, week, month.

      The default is the current behaviour: "day". Here, each day in the calendar is a link that
      selects that day.

      When mode=week, the days are no longer links, but just plain text. The "week of year" list
      on the left of the popup calendar becomes a link instead that selects the first day of the
      specified week.

      When mode=month, a checkbox appears in the popup calendar just to the left of the close-icon.
      Days and weeks are plain text, not links. When the checkbox is clicked, the selected date
      is the first day of the specified month.

      Initial proposal to the mailing list is here:
      http://mail-archives.apache.org/mod_mbox/myfaces-dev/200712.mbox/%3c32184555.1197281079305.JavaMail.root@viefep18%3e

        Attachments

          Activity

            People

            • Assignee:
              skitching Simon Kitching
              Reporter:
              skitching Simon Kitching
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: