Ok sorry, I must have missed the date of the original mail
sometimes, I should not read the list between door and angle...



Werner



simon schrieb:
Hi Werner,

That email of mine which you replied to is fairly old now; several weeks
at least. Those changes to the inputCalendar are already complete.

I didn't end up making changes to the inline calendar; it is really
quite a different thing from the popup calendar.

I see you've been fixing some layout issues with the inputCalendar
recently which is great. Feel free to keep working; I have no plans to
change anything there in the near future.

Regards,
Simon

On Sun, 2008-02-10 at 13:45 +0100, Werner Punz wrote:
+1 from my side, this sounds good.

I started to fixing things in the calendar control as well
on friday, I will stop the fixing until you are done and
will direct my work to other things Tomahawk.

Werner



Simon Kitching schrieb:
Hi,

The project I am working on needs to allow users to select a month or a week. 
At the moment, the tomahawk calendar control only supports selecting a specific 
day.

Does anyone have an objection if I 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.

I've obviously concentrated on the popup for the moment, but will add 
equivalent feature to the inline calendar too.

If there are no objections, I'll create a JIRA issue then implement it.

By the way, the inline calendar does not currently support weeknumbers, like 
the popup one does. Adding support now would be tricky for 
backwards-compatibility reasons. Should it always appear like the popup does 
(changes current behaviour for inline)? If an attribute should control this, 
then should it default to true (changes inline default behaviour) or false 
(changes popup default behaviour)?

Regards,

Simon




Reply via email to