Hi,

haven't got any reply, added some more details.

6) Now click on 2nd tab, then only a refresh of page happens and the clicked
tab is not shown.


On Mon, Feb 21, 2011 at 2:42 PM, Tejash Tarun <[email protected]> wrote:

> Hi,
>
> I have this scenario:
> 1) AjaxTabbePanel has three tabs.
> 2) Go to 2nd tab
> 3) Come back to 1st tab
> 4) one link in 1st tab will take us to some page
> 5) Click back button of the browser => we will come back to the page with
> the AjaxTabbedPanel#1st tab
> 6) Now click on 2nd tab, then only a refresh of page happens and the
> clicked tab is not shown.
>
> AbstractRequestCycleProcessor#processEvents(requestCycle) doesn't get a
> call,
> instead RedirectPageRequestTarget#processEvents(requestCycle) gets the
> call.
> This happens all the time barring a few time when it greets me with
> following stack trace:
>
> java.lang.IllegalStateException: No Page found for component
> [MarkupContainer [Component id = link]]
>
>      at org.apache.wicket.Component.getPage(Component.java:1819)
>
>      at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:284)
>
>      at
> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
>
>      at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>
>      at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
> ...
>
>
> Can anybody tell what and where is going wrong ??
>
>
> Thanks in advance,
> Tejash
>
>
>

Reply via email to