• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton


  • Subject: Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
  • From: David Avendasora <email@hidden>
  • Date: Wed, 1 Apr 2009 15:19:51 -0400


On Apr 1, 2009, at 2:24 PM, Chuck Hill wrote:


On Apr 1, 2009, at 10:58 AM, Jon Nolan wrote:

Chuck Hill wrote:
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?

I've tried binding both "%m/%d/%Y" and "MM/dd/yyyy" to format. I've also used a NSTimestampFormatter("%m/%d/%Y") instance bound to formatter. It won't take a SimpleTextFormat but I tried that too. I don't *think* it's a problem with the format and the .java on your component looks good to me. I think it's in the calendar javascript.

[SOLVED] Or at least identified. It's the slash character it doesn't like. I just tried with no formatter/format and again then with space and/or dash delimiters and it worked fine. I'm guessing a regex issue in string_to_date(s).


I am using - instead of "/" so did not notice this. I see it now in the AjaxExample. This ought to be fun.

er, who uses "/"? :-P

I do. But you know me. I _live_ to harass you.

Dave
_______________________________________________
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


  • Follow-Ups:
    • Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
      • From: Chuck Hill <email@hidden>
References: 
 >Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton (From: Jon Nolan <email@hidden>)
 >Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton (From: Chuck Hill <email@hidden>)
 >Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton (From: Jon Nolan <email@hidden>)
 >Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton (From: Chuck Hill <email@hidden>)

  • Prev by Date: Reducing Page Sizes
  • Next by Date: Re: Reducing Page Sizes
  • Previous by thread: Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
  • Next by thread: Re: [ANN] AjaxDatePicker and AjaxDefaultSubmitButton
  • Index(es):
    • Date
    • Thread