Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: EE-1.8.2.GA_P04
-
Fix Version/s: None
-
Component/s: Project Templates, Samples
-
Labels:None
-
Environment:Firefox 12, IE9, Chrome 18
Description
When running a project created with the Project Builder ICEpack tool, it is no longer working well in modern, up to date browsers. The first page is loaded correctly but as soon as an action takes place it loses all of its style.
The reason for this looks to be caused by the CSS/JavaScript is being loaded in the body tag instead of the head tag. When the action occurs the CSS files are cleared out on the update. When running the sample on IE8 or IE9 Compat Mode, the CSS/JS files get loaded into the head tag so this is not an issue.
The reason for this looks to be caused by the CSS/JavaScript is being loaded in the body tag instead of the head tag. When the action occurs the CSS files are cleared out on the update. When running the sample on IE8 or IE9 Compat Mode, the CSS/JS files get loaded into the head tag so this is not an issue.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Upon further investigation this issue was only seen with the showcase-template page. No other template pages showed this issue. Adding in the following code to showcase-template.jspx has resolved this issue:
Old Code:
<div class="contentContainer">
New Code:
<div id="content" class="contentContainer">
The div needs to have an id set for it so that the update can be more isolates instead of updating the entire body. Using an ice:panelGroup would also work since an is is auto generated for it.