Re: How can override calendar formatting at initialization using DatePicker? getAdditionalJavascript not always working...

2010-06-10 Thread rawe
Yes, I solved it! When displaying the calendar the first time it's mandatory to call its clear method (Clears the selected dates in the current calendar widget and sets the calendar to the current month and year. ) My solution: @Override protected String getAdditionalJavascript() { if

Re: How can override calendar formatting at initialization using DatePicker? getAdditionalJavascript not always working...

2010-06-04 Thread rawe
I got the same problem! Did you solve it already? If yes, I would be glad to get some help! I just disabled the weekend days in DatePicker by overriding the method @Override protected String getAdditionalJavascript() { additionalJavascript +=