[ http://issues.apache.org/jira/browse/BEEHIVE-553?page=all ] Rich Feit resolved BEEHIVE-553: -------------------------------
Assign To: Julie Zhuo (was: Rich Feit) Resolution: Fixed Fixed with revision 164512. > 'restoreQueryString' does not work with Jpf.NavigateTo.currentPage or > Jpf.NavigateTo.previousPage > ------------------------------------------------------------------------------------------------- > > Key: BEEHIVE-553 > URL: http://issues.apache.org/jira/browse/BEEHIVE-553 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1, V1Alpha, V1Beta > Reporter: Rich Feit > Assignee: Julie Zhuo > Fix For: V1 > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira