DatePicker
http://hondou.homedns.org/pukiwiki/pukiwiki.php?Wicket%20%C6%FC%C9%D5%A4%CE%C6%FE%CE%CF%CA%E4%BD%F5#p7508811
そうそう。見つからないなーと思ったらそういうことか。
Wicket1.3になるときに分割されたらしい http://cwiki.apache.org/WICKET/migrate-13.html#Migrate-1.3-DatePicker The DatePicker component has been removed from the wicket-extensions package, as it conflicts with the Apache license. There are two options for migration: * A drop-in replacement (same component) provided by Wicket Stuff. * A new date picker based on the Yahoo UI library, which is available in the wicket-datetime package. Find it under wicket.extensions.yui.calendar.DateField (see also DateTimeField and CalendarPopup for other useful components).
pom.xmlに下記を追加。
<dependency> <groupId>org.apache.wicket</groupId> <artifactId>wicket-datetime</artifactId> <version>${wicket.version}</version> </dependency>
Wicket1.3.3が出てる
活発だなー。いいことだ。
大きな変更はなさげ。
1.3への移行中のメモ
http://d.hatena.ne.jp/H_Yamaguchi/20080110/1199935497より
5.メソッドの可視性の変更 SubmitLink から継承されたメソッドの可視性を下げることはできません。 ボタンやリンクのイベントがprotected→publicに変更されているため、protectedのままだとビルドエラーとなる。 ここは、publicに変更するだけでよい。
追記:
1.3にしてこんなにエラーが出ると萎えるな。。。
WicketServlet WicketFilter
memoだけど。
1.3系から、ServletじゃなくてFilterを使うことを推奨してるみたい。
This allows you to map your application to the root of your context and still let the container serve resources.
Wicket Quickstart
http://herebebeasties.com/2007-10-07/wicket-quickstart/
maven2で雛形作成(package)。プラグインでEclipse用にパッケージ構成を作って、importする。M2_REPO定義して、start.javaでjetty起動。