l0rdn1kk0n/wicket-bootstrap — pull request #72 by heapifyman (2012-09-26 17:53:53+00:00)
Title: updated DateTextField

Added another constructor to DateTextField, which only takes the markupId and a date pattern as parameters.

Also changed createScript() to use getTextFormat().toLowerCase() instead of just getTextFormat().
This seems to fix issue #70

Also added a on('changeDate')... to the createScript() method, which sets the html input element's value to the chosen date. I noticed that otherwise my wicket-beanvalidation wouldn't be triggered.

Also changed the datepicker.js a bit so that:
a) the current date is highlighted also when datepicker is opened for the first time
b) if the DateTextField's model is empty, datepicker displays the current date and not 1. Feb. 1970.