RE: Redirect fails wicketTest in rc7 - is there a workaround?

2009-07-19 Thread Russell Simpkins
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

RE: Redirect fails wicketTest in rc7 - is there a workaround?

2009-07-19 Thread Russell Simpkins
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) {

Re: Redirect fails wicketTest in rc7 - is there a workaround?

2009-07-19 Thread Martin Makundi
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