« Return to Thread: Ajax component replaceWith and browser back-button problems

Ajax component replaceWith and browser back-button problems

by ptrthomas :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

Hi,

I have a panel A that is replaced by another panel B over Ajax using Component.replaceWith().  Panel B contains a few Links.

Say I navigate to this Page and trigger the event that causes panel B to replace Panel A.  Then I click one of the Link(s) within Panel B that brings up another page.

Now when I use the browser back button I see the first Page where B is visible as expected.  But now when I click on another Link within B - it causes a Wicket runtime exception: component [...] not found on page [...]

Everywhere else across the app, browser back-button works beautifully.  Is this problem to be expected if you have links within an area on a page refreshed using Ajax and then you use the browser back button to try other links in that area?

Thanks,

Peter.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

 « Return to Thread: Ajax component replaceWith and browser back-button problems