But it is still not 100% so a better one will be even nicer. And the licence issue is gone then.
On 5/30/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
as you guys know weve been having a lot of trouble with the datepicker in extensions. a lot of it is from the issues of i18n and formatting in general.
i started working on a replacement keeping those two items on the top of the list. the idea is to be able to define locale strings as well as a format _expression_ that will be used for formatting and parsing and are identical to the ones used by SimpleDateFormat in java.
when all is said and done it might look something like this:
new DatePickerField(id, model, "EEEE, MMMM d yyyy")
and have localized properties like
wicket.datepicker.months=January ,February...
wicket.datepicker.shortMonths=Jan,Feb,...
etc
so the transition between java and _javascript_ will be seamless
i also want to be able to decorate any day square via ajax or another mechanism
i am short on time and am looking for people to help build it. so if anyone is interested and know _javascript_ give me a hollar.
i havent gotten very far yet, as of right now it only works in firefox (gotta track down what makes it croak in IE), it pops up and you can pick a date. i want to get all the _javascript_ stuff done and then integrate with wicket.
i am attaching the files so you can take a look and provide feedback, etc
-Igor
