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) { return
"document.location.href='http://testurl';" + script; } };}
----------------------------------------
> Date: Sun, 19 Jul 2009 09:54:03 +0300
> Subject: Redirect fails wicketTest in rc7 - is there a workaround?
> From: [email protected]
> To: [email protected]
>
> 1. click ajaxButton
> 2. redirect in button onSubmit
> 3. verify redirect in test
>
> Is there a workaround? https://issues.apache.org/jira/browse/WICKET-2379
>
> **
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
_________________________________________________________________
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos.
Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]