You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Grigorov <mg...@apache.org> on 2012/06/01 09:12:23 UTC

Re: Getting more stale page exception in wicket 1.5.6

Hi,

Which version of Wicket do you use ?

On Thu, May 31, 2012 at 8:31 PM, sudeivas <su...@gmail.com> wrote:
> Hello Martin
>
> I think I found why I see the warning
>
> WARN: org.apache.wicket.request.handler.request.WebPageRenderer - The
> Buffered response should be handled by BufferedResponseRequestHandler.
>
> I am having a code like,
>
> setResponsePage(ProblemIndexPage.class);
>
> inside an Panel (last line). This is a hidden widget. Whenever I call this

I'm not sure what do you mean by "last line". In the constructor ? In
another method ?

> widget, it will perform some task and redirect to the home page.
>
> When I call this panel first time, it shows the warning. Then if I try to
> call it once again, then it says ComponentNotFoundException.
>
> Is there a better way to redirect rather than setResponsePage ?

You can use : throw RestartResponseException(ProblemIndexPage.class)

>
> In my application I have already mounted the home page,
> mountPage("/main", ProblemIndexPage.class);

Create a quickstart app with 1.5.6 that reproduces the problem and
attach it to Jira.

>
> Thanks,
> Suresh
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Getting-more-stale-page-exception-in-wicket-1-5-6-tp4649492p4649629.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org