1

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?

S.P. ROOPESH
  • 65
  • 11

1 Answers1

1

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

soorapadman
  • 4,451
  • 7
  • 35
  • 47