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

protected String getAdditionalJavascript() {
        additionalJavascript += "${calendar}.addWeekdayRenderer(1,
${calendar}.renderOutOfBoundsDate);"; // disable sundays
                additionalJavascript += "${calendar}.addWeekdayRenderer(7,
${calendar}.renderOutOfBoundsDate);"; // disable saturdays

                return additionalJavascript;

It works, but not when displaying the DatePicker first time. Just after I
did some action in it. (e.g. changing the month)

Thank you!


View this message in context: 
Sent from the Wicket - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to