I have code as shown below,
mount(new QueryStringUrlCodingStrategy(pwdRstHomeURl.substring(pwdRstHomeURl.lastIndexOf('/')), UserHome.class));
How can I modify this code into 6.x or 7.x?
I have code as shown below,
mount(new QueryStringUrlCodingStrategy(pwdRstHomeURl.substring(pwdRstHomeURl.lastIndexOf('/')), UserHome.class));
How can I modify this code into 6.x or 7.x?
You can simply use mountPage
wicket 1.5 onwards.
mountPage(pwdRstHomeURl.substring(pwdRstHomeURl.lastIndexOf('/'), UserHome.class);
For more information take a look at this page