I'm currently trying to move from YUI datePicker to jquery-ui datepicker and observing weird behavior:
The code to add DatePicker is:
add(new DatePicker("age", "yyyy/MM/dd", new Options("showOn", Options.asString("button")).set("buttonImage", Options.asString("images/calendar.gif"))));
(form already has Model and model.age is inited with 1977-11-13 date)
TextField renders 1977/11/13 as expected
Then I push on "calendar selector button" and the calendar widget displays current month and year
Am I doing something wrong?