You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Julie Zhuo (JIRA)" <be...@incubator.apache.org> on 2005/05/13 01:00:06 UTC

[jira] Closed: (BEEHIVE-553) 'restoreQueryString' does not work with Jpf.NavigateTo.currentPage or Jpf.NavigateTo.previousPage

     [ http://issues.apache.org/jira/browse/BEEHIVE-553?page=all ]
     
Julie Zhuo closed BEEHIVE-553:
------------------------------


Verified at rev169829. The bvt test for this has been passing.

> '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
>     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