I faced the same issue not long ago and solved it by adding a disabled date picker image and toggling between the enabled and disabled date pickers by modifying the "disabled" attribute.
Igor Vaynberg wrote: > yes. datepicker doesnt support the disabled attribute yet. if you > would like you can create a patch and send it in. the core team will > be concentrating on replacing it because of license issues with what > is now in wicket-contrib-datepicker (about 20% there). help is always > welcome. > > -Igor > > > On 9/8/06, *Charles A Deal* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > > I am using the DatePicker > (wicket.extensions.markup.html.datepicker) Panel on one of my > forms. I want it to start out disabled so I called > setEnabled(false) on the object. However, I can still click on > the DatePicker icon. > > Admittedly, I am still very new to this, but after looking at the > code, it looks like the TriggerButton is not picking up the > settings from the Parent. So, the TriggerButton doesn't know that > it is supposed to be disabled. Is this a correct statement? > > Charles Deal > > ------------------------------------------------------------------------- > 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > <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 > ------------------------------------------------------------------------- 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