ICEfaces
  1. ICEfaces
  2. ICE-2113

Popup select date in modal popup panel disables all of the controls

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Tomcat 5.5, Facelets, Firefox 2 and IExplorer 7

      Description

      When you put a selectInputDate with the renderAsPopup property set to true inside a modal popupPanel, and click the control to popup the calendar, the whole page gets disabled, so you cannot select any date or do anything else.

        Activity

        Sergio Del Valle created issue -
        Sergio Del Valle made changes -
        Field Original Value New Value
        Attachment screenshot-1.jpg [ 10660 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Fix Version/s 1.6.2 [ 10111 ]
        Fix Version/s 1.7 [ 10080 ]
        Assignee Priority P1
        Assignee Adnan Durrani [ adnan.durrani ] Yip Ng [ yip.ng ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14898 Fri Oct 05 16:09:28 MDT 2007 yip.ng ICE-2113
        ICE-2138
        Fixed bugs in Ice.modal.start() that caused modal dialog to be disabled on redisplay.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/style.js
        Hide
        yip.ng added a comment -

        Screenshot of testing after the fix.

        Show
        yip.ng added a comment - Screenshot of testing after the fix.
        yip.ng made changes -
        Attachment screenshot-2.jpg [ 10685 ]
        Hide
        yip.ng added a comment -

        To test:

        In component-showcase\web\inc\layoutPanels\panelPopup.jspx, in the modal popup element, replace the <ice:outputText/> with the following:

        <ice:selectInputDate renderAsPopup="true"/>

        Show
        yip.ng added a comment - To test: In component-showcase\web\inc\layoutPanels\panelPopup.jspx, in the modal popup element, replace the <ice:outputText/> with the following: <ice:selectInputDate renderAsPopup="true"/>
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14908 Tue Oct 09 14:16:03 MDT 2007 yip.ng ICE-2113
        ICE-2138
        Fixed bugs in Ice.modal.start() that caused modal dialog to be disabled on redisplay.
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/bridge/lib/extras/style.js
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Yip Ng [ yip.ng ]
        Hide
        yip.ng added a comment -

        From QA:

        ICE-2113 (all browsers) - fails manually in FF and IE - when clicking to render a modal popup panel, this is rendered, but not entirely visible on the page (see ICE-2113.png). This is also an issue w/Mojarra.

        Show
        yip.ng added a comment - From QA: ICE-2113 (all browsers) - fails manually in FF and IE - when clicking to render a modal popup panel, this is rendered, but not entirely visible on the page (see ICE-2113 .png). This is also an issue w/Mojarra.
        yip.ng made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee yip.ng [ yip.ng ]
        Hide
        yip.ng added a comment -

        I can finally reproduce the problem. It occurs only when running from QA subversion checkout. If you cut and paste source code into compat showcase, everything works fine. Strange.

        Show
        yip.ng added a comment - I can finally reproduce the problem. It occurs only when running from QA subversion checkout. If you cut and paste source code into compat showcase, everything works fine. Strange.
        Hide
        yip.ng added a comment - - edited

        Many revisions before 32854 have NullPointerException. Revision 32854 fixes it but regression is already present. Therefore so far can't determine when it first started. Also, tried copying web.xml and faces-config.xml from compat showcase. Problem still occurs so don't know if test app. config. is the issue.

        java.lang.NullPointerException
        at org.icefaces.impl.event.JavascriptResourceOutput.<init>(JavascriptResourceOutput.java:21)
        at org.icefaces.impl.event.BridgeSetup.getHeadResources(BridgeSetup.java:120)
        at org.icefaces.impl.event.BridgeSetup.processEvent(BridgeSetup.java:92)
        at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
        at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168)
        at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144)
        at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302)
        at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
        at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:812)
        at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:962)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755)
        at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
        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:594)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)

        Show
        yip.ng added a comment - - edited Many revisions before 32854 have NullPointerException. Revision 32854 fixes it but regression is already present. Therefore so far can't determine when it first started. Also, tried copying web.xml and faces-config.xml from compat showcase. Problem still occurs so don't know if test app. config. is the issue. java.lang.NullPointerException at org.icefaces.impl.event.JavascriptResourceOutput.<init>(JavascriptResourceOutput.java:21) at org.icefaces.impl.event.BridgeSetup.getHeadResources(BridgeSetup.java:120) at org.icefaces.impl.event.BridgeSetup.processEvent(BridgeSetup.java:92) at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:812) at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:962) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) 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:594) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)
        Hide
        yip.ng added a comment - - edited

        It's caused by the missing DOCTYPE declaration! Did this test app. ever work at all before?! (Or did the framework use to insert this automatically?)

        Subversion: Committed revision 33312.

        M: C:\svn\repo\qa\trunk\Regression-Icefaces2\Nightly\ICE-2113\web\panelPopup.xhtml#33312

        Show
        yip.ng added a comment - - edited It's caused by the missing DOCTYPE declaration! Did this test app. ever work at all before?! (Or did the framework use to insert this automatically?) Subversion: Committed revision 33312. M: C:\svn\repo\qa\trunk\Regression-Icefaces2\Nightly\ ICE-2113 \web\panelPopup.xhtml#33312
        yip.ng made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Sergio Del Valle
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: