This seems not to be supported with the component itself. What you could do is extend DatePickerSettings and override method toScript:
public String toScript(Locale locale, String format) { String s = super.toScript(locale, format); s += ... your initialization here Eelco On 8/15/06, akodo ghislain <[EMAIL PROTECTED]> wrote: > Hi, > I'm using wicket component DatePicker. > I would like to disable some dates. > The documentation of the component on the site > http://www.dynarch.com/projects/calendar/ provides a method to disable some > date : (Calendar.setDisabledHandler ). But I dont know how to use this > feature in java/wicket. > Any Idea? > Thanks . > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user