@leoerlandsson: Thanks a lot for the information.

@MZemeck: The solution given in the link provided by u worked for me. Thanks
a lot.

On Tue, Feb 22, 2011 at 10:10 PM, <[email protected]> wrote:

> This is the best solution I have found...
>
> http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/
>
> Note that when refreshing the page it will return to its default state
> (first tab selected).  I have been meaning to test with
> HybridUrlCodingStrategy to see if the page can maintain its state without
> crashing after using the back button...
>
>
>
>
> From:   leoerlandsson <[email protected]>
> To:     [email protected]
> Date:   02/22/2011 06:22 AM
> Subject:        Re: requestCycle.getRequestTarget() not giving the target
>
>
>
>
> Hi,
>
> We've seen this problem aswell (unfortunately, I have no solution for
> you...).
>
> The problem is probably that Wicket does not yet have Ajax Back Button
> Support. When an Ajax call is made, the URL is not changed, so the Browser
> cannot know that something (i.e State on server) has changed.
>
> When you click back you come back to the URL used for the _first_ page
> version... That's why you get:
>
> java.lang.IllegalStateException: No Page found for component
> [MarkupContainer [Component id = link]]
>
> I don't know how to fix this, but maybe someone elso knows? Perhaps we
> need
> Ajax Back Button Support (I know there's a JIRA Issue for it..)
>
>
> >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 wil come back to the page with
> the
> >AjaxTabbedPanel#1st tab
> >6) Now click on 2nd tab, then
> --
> View this message in context:
>
> http://apache-wicket.1842946.n4.nabble.com/requestCycle-getRequestTarget-not-giving-the-target-tp3317022p3318972.html
>
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
>
>
> Notice: This communication, including any attachments, is intended solely
> for the use of the individual or entity to which it is addressed. This
> communication may contain information that is protected from disclosure
> under State and/or Federal law. Please notify the sender immediately if
> you have received this communication in error and delete this email from
> your system. If you are not the intended recipient, you are requested not
> to disclose, copy, distribute or take any action in reliance on the
> contents of this information.

Reply via email to