Description
Consider the following Forward annotation:
@Jpf.Forward(name="prevAction", navigateTo=Jpf.NavigateTo.previousAction, restoreQueryString=true)
This reruns the previous action, and restores the original query string that was on the previous action URI.
If you try to use 'restoreQueryString' with Jpf.NavigateTo.currentPage or Jpf.NavigateTo.currentPage, you get the following error:
The restoreQueryString attribute requires a value of Jpf.NavigateTo.previousAction for attribute navigateTo.
This is incorrect – a page can databind to query params or depend on them in other ways. If you use 'restoreQueryString' with currentPage/previousPage, it should restore the query string from the original request for the page.