use getDefaultModelObject()
instead
Wicket usually provides a migration guide:
https://cwiki.apache.org/WICKET/migrating-to-wicket-14.html#MigratingtoWicket1.4-Component.getModel%2528%2529andfriendsrenamedtogetDefaultModel%2528%2529andfriends
BTW: wicket 1.5 is also already out
1
solved Which methods are changed in migrating wicket from 1.3.6 to 1.4.0?