ICEfaces
  1. ICEfaces
  2. ICE-6966

ice:menuBar Offset when Scrolling in IE7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE-2.0.0.GA
    • Fix Version/s: 3.0, EE-2.0.0.GA_P01
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7.0.12

      Description

      In IE7, when a height is specified above the ice:menuBar component and you scroll the browser scroll bar down, the menuItems will be offset from the menuBar. At this point you cannot click on the menuItems because they are no longer connected to the menu.

      In repo\services\williams\williamspoc, nest the following in the h:body tag of template.xhtml to recreate this issue:

       <div id="headerImage" style="height: 100px;"></div>

        Activity

        Hide
        yip.ng added a comment -

        javax.el.ELException: /WEB-INF/includes/content/menu.xhtml: Property 'launchScreen1' not found on type com.icesoft.williams.view.backing.Menu
        at com.sun.faces.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:94)
        at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)
        at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)
        at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
        at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
        at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)
        at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1684)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

        Show
        yip.ng added a comment - javax.el.ELException: /WEB-INF/includes/content/menu.xhtml: Property 'launchScreen1' not found on type com.icesoft.williams.view.backing.Menu at com.sun.faces.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:94) at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82) at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1684) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
        Hide
        yip.ng added a comment -

        From Brad:

        I don't see this. Looks like an EL issue, there were some I ran in to with Tomcat 7.0.8 that went away with 7.0.12.

        Show
        yip.ng added a comment - From Brad: I don't see this. Looks like an EL issue, there were some I ran in to with Tomcat 7.0.8 that went away with 7.0.12.
        Hide
        yip.ng added a comment -

        Downloaded and used 7.0.16. Same error.

        Show
        yip.ng added a comment - Downloaded and used 7.0.16. Same error.
        Hide
        yip.ng added a comment -

        Need to comment out EE lib names in build.properties file.

        Show
        yip.ng added a comment - Need to comment out EE lib names in build.properties file.
        Hide
        yip.ng added a comment - - edited

        Problem not just in IE7, but in IE9 and FF4 as well, and so is a general problem. See video at http://screencast.com/t/4jLL7Tq54.

        Show
        yip.ng added a comment - - edited Problem not just in IE7, but in IE9 and FF4 as well, and so is a general problem. See video at http://screencast.com/t/4jLL7Tq54 .
        Hide
        yip.ng added a comment - - edited

        The issue was caused by the default body margin of the browser (8px in FF.) You have to override it with a zero margin. See video at http://screencast.com/t/k7gU5tly0p. This is how it's done in component showcase. If you removed the zero margin setting, then component showcase too would have the same problem. See video at http://screencast.com/t/8czQHtTsnfEN.

        Revision: 28016


        Modified : /services/williams/williamspoc/src/main/webapp/resources/css/williams.css

        Tested in FF4, IE7, IE9.

        Show
        yip.ng added a comment - - edited The issue was caused by the default body margin of the browser (8px in FF.) You have to override it with a zero margin. See video at http://screencast.com/t/k7gU5tly0p . This is how it's done in component showcase. If you removed the zero margin setting, then component showcase too would have the same problem. See video at http://screencast.com/t/8czQHtTsnfEN . Revision: 28016 Modified : /services/williams/williamspoc/src/main/webapp/resources/css/williams.css Tested in FF4, IE7, IE9.
        Hide
        Brad Kroeger added a comment -

        Added margin:0; to body in my application - did not fix the problem in IE7

        Show
        Brad Kroeger added a comment - Added margin:0; to body in my application - did not fix the problem in IE7
        Hide
        yip.ng added a comment -

        What application are you talking about? A different application than the above? Where is it? How can I run it?

        Show
        yip.ng added a comment - What application are you talking about? A different application than the above? Where is it? How can I run it?
        Hide
        Ken Fyten added a comment -

        Since Williams has moved on to the ace:menu component, this issue is no longer relevant.

        Show
        Ken Fyten added a comment - Since Williams has moved on to the ace:menu component, this issue is no longer relevant.

          People

          • Assignee:
            yip.ng
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: