Support select-week and select-month in tomahawk calendar
---------------------------------------------------------
Key: TOMAHAWK-1163
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1163
Project: MyFaces Tomahawk
Issue Type: Improvement
Components: Calendar
Affects Versions: 1.1.7-SNAPSHOT
Reporter: Simon Kitching
Assignee: Simon Kitching
Priority: Minor
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/[EMAIL
PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.