• 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
Abandoning AjaxDatePicker for JQuery?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Abandoning AjaxDatePicker for JQuery?


  • Subject: Abandoning AjaxDatePicker for JQuery?
  • From: Calven Eggert <email@hidden>
  • Date: Wed, 17 May 2017 09:41:11 -0400

It looks like I’m going to abandon the AjaxDatePicker because I can’t get it to work with the date format my users want for this calendar.

Anyone have experience using WO with JQuery?  Any hints on how to get that setup would be appreciated.


Calven


On May 16, 2017, at 11:05 AM, Calven Eggert <email@hidden> wrote:

Anyone familiar with the AjaxDatePicker?

I’ve narrowed down my problem to the following line in the calendar.js file in the function string_to_date:
var result = Date.parseExact(s, [dateOrder]);

The parsing of the date doesn’t work properly with some formats (even the default one) it returns null and therefore, uses the current date.  It used to, and the AjaxExample here (http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample.woa/1/wo/VrPvtPdTQHbyR0L5j9srB0/2.0.69) works fine.


Any suggestions?  Anyone using a different calendar popup window?



Begin forwarded message:

From: Calven Eggert <email@hidden>
Subject: AjaxDatePicker - can't use b || B
Date: May 15, 2017 at 2:05:00 PM EDT
To: WebObjects-Dev <email@hidden>

Hi, All

The AjaxDatePicker with the month format of %b doesn’t work for me.  (%B doesn’t work either.  It does work with %m)

Using %b, it displays properly in the field (For example: 14-Jan-2017) however, when you click on the field to display the calendar, instead of showing my January month  it shows the current date (May 15).

Does someone else use the %b or %B format successfully?

Calven



 _______________________________________________
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: Abandoning AjaxDatePicker for JQuery?
      • From: Paul Hoadley <email@hidden>
    • Re: Abandoning AjaxDatePicker for JQuery?
      • From: Klaus Berkling <email@hidden>
    • Re: Abandoning AjaxDatePicker for JQuery?
      • From: Theodore Petrosky <email@hidden>
References: 
 >AjaxDatePicker - can't use b || B (From: Calven Eggert <email@hidden>)
 >Fwd: AjaxDatePicker - can't use b || B (From: Calven Eggert <email@hidden>)

  • Prev by Date: Re: data backup question
  • Next by Date: Re: Abandoning AjaxDatePicker for JQuery?
  • Previous by thread: Fwd: AjaxDatePicker - can't use b || B
  • Next by thread: Re: Abandoning AjaxDatePicker for JQuery?
  • Index(es):
    • Date
    • Thread