Hi David,

thanks for your reply. I tried your way, but didn't overwirte the
WicketTester. I simply added

  final WebRequestCycle cycle = _tester.createRequestCycle();
  p.setModelObject(refreshDay);
  try {
    cycle.request(new PageRequestTarget(_tester.getLastRenderedPage()));
  } finally {
    cycle.getResponse().close();
  }
  _tester.assertNoErrorMessage();

But now i have the old and the new rendered page in
System.out.println(_tester.getServletResponse().getDocument());

Can i avoid that?

Thanks Per
-- 
View this message in context: 
http://www.nabble.com/WicketTester---reload-page-after-model-changed-tf4691262.html#a13421842
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to