THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Most users - having wicket 1.3 code and migrating to 1.4 - will get many "compile warnings" due to generics.
The reason is the new typesafety. The class Component got "generified" and because all Wicket components extend Component, they require a generic too.
But for most Components that doesn't make too much sense. Therefore you should use Void as the generic.
Some Examples:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
add(new BookmarkablePageLink("signin", LoginPage.class)); |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
add(new BookmarkablePageLink<Void>("signin", LoginPage.class)); |
...