Community
Participate
Working Groups
Build ID: I20070625-1500 Steps To Reproduce: 1. Start application, theme appears correctly. 2. Go to another website. 3. Return to the application using the browsers back button -> Theme is missing. More information: Problem appears with standalone RAP (1.1 M2)
Created attachment 147284 [details] Proposed fix The proposed patch restores the "org.eclipse.rap.theme.current" attribute after a session restart.
Created attachment 147379 [details] Alternative fix The patch adds "no-store" directive to the Cache-Control header of the rwt-index.html, therefore instructing the client not to store the page in the local history. When the RAP page is re-visited by navigating the browser's history, a new GET request for the page URL will be issued. This request triggers the "browser survey" mechanism and the correct branding is be set. For a lengthy discussion why "no-store" is required by Firefox (and apparently Chrome) see this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=139541 The proposed fix is tested with FF 3.5.3, Chrome 3, Safari 4 and IE 8 on WinXP.
Applied patch #2. Changes are in CVS HEAD.