arcanum_jp’s blog





<input type="text" class="span2" wicket:id="paydate" />



DateTextField _paydate = new DateTextField(
                                       new Model<Date>(new Date()), 
                                       new StyleDateConverter("M-", true)


 _paydate.add(new DatePicker());

 ※ Wicket1.58時点では、DatePickerは「Joda - Time」に依存しているようです。

Joda-Time provides a quality replacement for the Java date and time classes. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included, and we welcome further additions. Supporting classes include time zone, duration, format and parsing.

Joda-Time - Java date and time API - Home

Joda-Time provides a library of classes to replace the Java JDK Date and Time classes including formatting. It is based around the ISO8601 datetime standard, but also provides full support for other calendar systems, such as Gregorian and Buddhist.>

Joda - Time download |