Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
- Subject: Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
- From: Chuck Hill <email@hidden>
- Date: Wed, 1 Apr 2009 10:40:32 -0700
On Apr 1, 2009, at 10:37 AM, Jon Nolan wrote:
Chuck Hill wrote:
In the interests of keeping folks up to date with what is getting
added to Wonder...
AjaxDatePicker
Chuck,
First of all, thanks for this. Very nice bit of machinery.
Not really mine, I just wired it into the Ajax framework.
Are you aware that focusing the input a second time results in the
date picker displaying with the day and month crossed up. For
example, if you select April 30th, 2009 and tab out of the field you
get 04/30/2009 (or whatever your formatter says.) All is well. If
you tab back in the date picker comes up with June 4th, 2011
preselected. This is equivalent to the fourth day of the 30th month
of 2009.
I tried to figure out the solution in calendar.js but I'm afraid it
is beyond me.
I feel fairly certain that either your format pattern is wrong or is
not translated properly by my code or the calendar. I have only seen
this when the NSTimestampFormatter and the calendar did not agree on
the format. What are you using for a format?
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden