Christopher Gardner-2 wrote:
>
> Does anyone have any examples of configuring DatePicker? I'd like to
> limit the minimal date, for example. I subclassed it and overrode
> configure() to set what I thought the Yahoo documentation said to to
> specify the minimal date, but to no avail.
>
The code below works fine for me:
TextField d = new TextField("d");
d.add(new DatePicker() {
protected void configure(Map widgetProperties) {
widgetProperties.put("mindate", "10/3/2007");
super.configure(widgetProperties);
}
});
-----
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
--
View this message in context:
http://www.nabble.com/Configuring-DatePicker-tf4616962.html#a13195942
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]