Bug 822202
Summary: | Richfaces Kitchensink archetype - back button does not back to the correct page state | ||
---|---|---|---|
Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Juraj Huska <jhuska> |
Component: | Examples, RichFaces | Assignee: | Karel Piwko <kpiwko> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Pitonak <ppitonak> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.0.0.ER6 | CC: | bsutter, jpapouse, mnovotny, ppitonak, rruss |
Target Milestone: | CR1 | ||
Target Release: | 2.1.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | rf-kitchensink | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-30 15:34:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Juraj Huska
2012-05-16 15:58:23 UTC
Brian Leathem <bleathem> made a comment on jira 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. Brian Leathem <bleathem> made a comment on jira RF-12076 Implementing a filter or listener to disable the page cache will significantly increase the complexity of this example quickstart application without adding much benefit. As an alternate solution, I propose setting the _target_ attribute of the REST link to open up the REST pages in a new window/tab. Brian Leathem <bleathem> updated the status of jira RF-12076 to Resolved Brian Leathem <bleathem> made a comment on jira RF-12076 Changed the REST links to open up in a new window Distributed as a part of WFK 2.1.0.GA release. Juraj Húska <jhuska> updated the status of jira RF-12076 to Closed |