ICEfaces
  1. ICEfaces
  2. ICE-7639

ace:tabPane content isn't displayed in IE7 after closing a tab untill browser resize

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.RC1
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces RC1a Build8
    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Clicking on the tab again shows the content correctly. To mimic this programatically the following code can be used:

              String reset = "ice.ace.getJSContext('mainTabSet').getComponent().selectTab(ice.ace.getJSContext('mainTabSet').getComponent().get('activeIndex'));";
              JavaScriptRunner.runScript(FacesContext.getCurrentInstance(), reset);

      Swapping out 'mainTabSet' for the id of the ace:tabSet component.
      Show
      Clicking on the tab again shows the content correctly. To mimic this programatically the following code can be used:         String reset = "ice.ace.getJSContext('mainTabSet').getComponent().selectTab(ice.ace.getJSContext('mainTabSet').getComponent().get('activeIndex'));";         JavaScriptRunner.runScript(FacesContext.getCurrentInstance(), reset); Swapping out 'mainTabSet' for the id of the ace:tabSet component.

      Description

      Williams has reported that some of their tab content isn't displayed in IE7 (IE8 Compatibility Mode). They reported this occurs when they switch "Pipelines" which essentially changes the CSS of the page to have a different theme. Upon my investigation I found that it was possible to reproduce this issue by opening a new tab and then immediately closing the tab. The content of the initial tab is either not displayed or partially displayed until you resize the browser.

      Looking at the rendered code everything is there with its required CSS but it just isn't displayed.

      I've been able to reproduce this on the Williams POC:
       - Load the first tab with the Screen1 content.
       - Click on the "+" menu item to open a new tab.
       - Close the tab.
       - This now displayed the Screen 1 tab, notice that the table headers are missing. Resizing the browser (switching from maximized to windowed mode) displays the proper content.

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Need a fix for this for their January production release asap.

          Show
          Ken Fyten added a comment - Need a fix for this for their January production release asap.

            People

            • Assignee:
              Mark Collette
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: