RE: [Wicket-user] date picker settings first day
Title: date picker settings first day Is there any way to prevent the DatePicker from closing when one clicks the link to change the month? When my user wants to change the date from, say, May 5th to April 30th, he has to pop-up the DatePicker twice once to change the month and once to change the day. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lusebrink, Scott E CTR DISA GIG-CS Sent: Thursday, May 04, 2006 9:47 AM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] date picker settings first day the datepickersettings.setFirstDate does not work. this is due to a typo in the DatePickerSettings.toString if (getFirstDay() != 0) { b.append(\n\tfistDay : ).append(getFirstDay()).append(,); } this should read firstDay : also considering that the default for the date picker is to have monday (1) as default the if statement does not allow you to set sunday as the first day. I suggest changing the _javascript_ to have sunday as the first day by default otherwise change the if to != 1 I hope this can be fixed soon Scott
Re: [Wicket-user] date picker settings first day
fixed it.On 5/4/06, Lusebrink, Scott E CTR DISA GIG-CS [EMAIL PROTECTED] wrote: the datepickersettings.setFirstDate does not work. this is due to a typo in the DatePickerSettings.toString if (getFirstDay() != 0) { b.append(\n\tfistDay : ).append(getFirstDay()).append(,); } this should read firstDay : also considering that the default for the date picker is to have monday (1) as default the if statement does not allow you to set sunday as the first day. I suggest changing the _javascript_ to have sunday as the first day by default otherwise change the if to != 1 I hope this can be fixed soon Scott
Re: [Wicket-user] date picker settings first day
it doesn't close at my place.I tested this in IE en FF i can press it quicly once so that it jumps one month at a time or hold it and scroll to the month i want and the release to select it.And then the datepicker still doesn't go away. johanOn 5/4/06, Frank Silbermann [EMAIL PROTECTED] wrote: Is there any way to prevent the DatePicker from closing when one clicks the link to change the month? When my user wants to change the date from, say, May 5th to April 30th, he has to pop-up the DatePicker twice – once to change the month and once to change the day. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Lusebrink, Scott E CTR DISA GIG-CS Sent: Thursday, May 04, 2006 9:47 AM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] date picker settings first day the datepickersettings.setFirstDate does not work. this is due to a typo in the DatePickerSettings.toString if (getFirstDay() != 0) { b.append(\n\tfistDay : ).append(getFirstDay()).append(,); } this should read firstDay : also considering that the default for the date picker is to have monday (1) as default the if statement does not allow you to set sunday as the first day. I suggest changing the _javascript_ to have sunday as the first day by default otherwise change the if to != 1 I hope this can be fixed soon Scott