ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-406

ICEpack Project Builder no longer working on modern browsers

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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.

        Activity

        Hide
        Arran Mccullough added a comment -

        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.

        Show
        Arran Mccullough added a comment - 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.

          People

          • Assignee:
            Brad Kroeger
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: