One way of doing this :
1) go to your detail page add( new Link<Void>("detail") { @Override public void onClick() { setResponsePage(new YourPage(getPage().getPageReference())); } }); public YourPage(PageReference pageReference) { this.pageReference = pageReference; } 2) back to the list add( new Link<Void>("list") { @Override public void onClick() { setResponsePage(pageReference.getPage()); } }); François Meillet Le 26 mai 2015 à 09:46, Vignesh Palanisamy <vign...@mcruncher.com> a écrit : > Hi, > > I need some help/ideas on list and search state in panel. I have two > panels in a page, one for searching, i.e., which produces a list of items in > a datatable which has paging. All this works well. Now, if I change > pagination links and then select one of the items in the list, it'll take me > to a details panel of that item. How can I remember (store) the state of the > previous list, so when I click a back link/button in the details panel, I > return to the list panel where the list will have the same state as when > I left it? > > Note: I am using the event for replacing the panel in the page. > > I had attached a quickstart project with it. > > > Thanks > Vicky > > <backNavigation.zip> > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org