[richfaces-issues] [JBoss JIRA] (RF-12076) Kitchensink archetype - back button does not back to the correct page state

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Oct 30 19:50:01 EDT 2012


    [ https://issues.jboss.org/browse/RF-12076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730247#comment-12730247 ] 

Brian Leathem commented on RF-12076:
------------------------------------

The problem is the browser is caching the page, and the ajax update doesn't refresh the cached copy of the page.  The solution is to disable caching for the page by manipulating the response headers:

{code}
response.addHeader("Pragma", "no-cache");
response.addHeader("Cache-Control", "no-cache");
{code}

This can be done in a ServletFilter, or in a JSF phase listener.
                
> Kitchensink archetype - back button does not back to the correct page state
> ---------------------------------------------------------------------------
>
>                 Key: RF-12076
>                 URL: https://issues.jboss.org/browse/RF-12076
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: archetype
>    Affects Versions: 4.2.0.Final
>         Environment: AS: JBoss AS 7.1.1.Final, EAP 6.0.0.ER3
>            Reporter: Juraj Húska
>            Priority: Minor
>             Fix For: 4.2.4, 5-Tracking
>
>
> When clicking on the url of the freshly created new member (like /rest/members/0) and backing back from the xml viewing, results in removed freshly added member.
> After refresh, or AJAX update (clicking on collapsiblePanel), the table is with all members again.
> This happens only for freshly added members.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list