I figured it out- further up in the code I was calling:

 new PageReference(new PageProvider(MyPage.class).getInstance().getPageId())

which was causing the problem.

Jeremy
On Tue, Apr 16, 2013 at 5:30 PM, Jeremy Levy <jel...@gmail.com> wrote:

> I'm using Wicket 6.6.0, in an AjaxSubmitLink when I do a
> setResponsepage(myclass.class) or (throw new RedirectResponse) i get the
> following error in the wicket ajax debug console:
>
> *ERROR: *
> Wicket.Ajax.Call.failure: Error while parsing response: Error: Invalid XML: 
> <!DOCTYPE html>
>
> The error console also includes the full HTML of the destination page.
>
> Any idea whats going on here?
> --
> Jeremy Levy
>



-- 
Jeremy Levy

Reply via email to