'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: V1Alpha, V1Beta, V1    
    Reporter: Rich Feit
 Assigned to: Rich Feit 
     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

Reply via email to