Hi,
we have a simple search form:
Form<String> form = new Form<String>("searchForm") {
@Override
protected void onSubmit() {
PageParameters params = new PageParameters();
params.add("0", search);
setResponsePage(SearchResultsPage.class, params);
}
};
This displays a list of results with each row having a BookmarkablePageLink
to another page. If the user uses the form , the results are displayed.
Then they click on any of the links they are taken to the next page.
However when they click 'Back' on the browser they always get 'Confirm Form
Resubmission' in Chrome, 'Document Expired' in Firefox etc. How can we stop
this and just display the result page?
What I actually see in the URLs is:
server.com/searchFormPage
server.com?34-1.IFormSubmitListener-baseCont-search-searchForm
server.com/specificPage/842978
Then they click on back and you get
server.com?34-1.IFormSubmitListener-baseCont-search-searchForm