Martin,
Your button should just be an external like. I don't think you are supposed to
be redirecting to an external url per the wiki guidelines here
http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html,
its this text on the bottom of the page:
Note that if you
Martin,
If you need the button to submit to do some logic, you can add a call decorator
to do your redirect with javascript e.g.
protected IAjaxCallDecorator getAjaxCallDecorator() { return new
AjaxCallDecorator() {public CharSequence
decorateScript(CharSequence script) {
Your button should just be an external like.
I need some logic there before redirecting.
I don't think you are supposed to be redirecting to an
external url per the wiki guidelines here
new RedirectRequestTarget(/path/to/legacyJspFile.jsp) is what I am using.
It is not relevant whether it