« Return to Thread: Wicket RAD and WIcket 1.4-mp2

Re: Wicket RAD and WIcket 1.4-mp2

by wfaler :: Rate this Message:

Reply to Author | View in Thread

Hi,
I have now checked your problem (against Wicket 1.4-m3), and it turns out that the API of Wicket's "Label" class has changed, getModel and getModelObject have been renamed to getDefaultModel and getDefaultModelObject.

To address this, I have created a "WicketVersionAdapter"-utility in the tests package, that reads a property file with the version to see which method to call (basically a compatibility layer thingy for different Wicket versions).

To build against a newer milestone release of Wicket, just update the versions in the wicket-rad-core pom.xml, and in the src/test/resources/wicketVersion files, and it should build cleanly against 1.4 milestone releases.

The fix is available in SVN - if you check it out it should work just as fine as 0.3 (just a few new featured added since):
svn co https://wicket-rad.svn.sourceforge.net/svnroot/wicket-rad wicket-rad

Regards
Wille Faler

 « Return to Thread: Wicket RAD and WIcket 1.4-mp2