| Summary: | Blank page when Javascript is disabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | tbuschto | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 1.3 M4 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Rüdiger Herrmann
The blank page can be seen in all browser that have JS disabled. A message could be displayed either by using the "noscript"-tag, or by using static html and remove it using JS. Both seem to work equally well. Created attachment 152719 [details]
Proposed solution
This uses JS to hide a warning that would otherwise be visible.
Using the "noscript"-tag wasn't practical because webkit can not access its content.
The warning-message is styled so it should cover everything else, however there might be a small gap on the right in IE. (I think it can be ignored.)
It is crucial that the div is placed exactly where it is, otherwise it might be visible shortly or the application might not load.
The message text should be updated to include webkit-browser.
Created attachment 153933 [details]
alternative implementation
Lets the server insert the actual message in two places. Message must not contain '"'.
Applied and extended second patch. The placeholder ${noScriptMessage} in rwt-index.html is taken from RWTMessages (key RWT_NoScriptWarning).
Changes are in CVS HEAD
|