5 Replies Latest reply on Jun 11, 2013 1:27 PM by Murugaboopathy Raja

    issue with rich:calendar within rich:popup panel in IE8

    Murugaboopathy Raja Newbie

      Hi There,

         I am using richfaces 4.0 , and i face a problem with rich:calendar within a rich:popup panel only in IE , and the same page is working very well in Mozilla Firefox.  Any Suggestions/workaround for this issue will be highly appreciated.

       

      Issue : No calendar popup for the first click , and from second click the calendar shows empty cells.

       

      Observation : I see an script error from the status bar of IE8.

       

      Script Error :

       

      Webpage error details

       

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

      Timestamp: Tue, 28 May 2013 14:49:00 UTC

       

       

      Message: Unknown runtime error

      Line: 1409

      Char: 4

      Code: 0

      URI: http://localhost:9009/myapp/javax.faces.resource/calendar.js.faces?ln=org.richfaces

       

       

      osr.PNG

      Code Snippet :


      <rich:popupPanel id="panel1" modal="true"

                               domElementAttachment="form" width="200"

                               left="200" top="200"

                               height="200"

                               style="background-color:#ffffff;"

                               show="true">

       

                  <f:facet name="controls">

                      <h:form id="myForm_close" prependId="false">

                          <h:commandLink immediate="true" action="#{mypopupBean.hide}"

                                         value="X" id="hideLink">

                              <a4j:ajax execute="@this" render="@none"

                                        oncomplete="#{rich:component(panel1)}.hide(); return false;"/>

                          </h:commandLink>

                      </h:form>

                  </f:facet>

                  <f:facet name="header">

                      <h:outputText value="My Header"/>

                  </f:facet>

                  <h:form id="popupPanel_form" prependId="false">

                       <rich:calendar id="insertedAtFilter1"

                          value="#{myBean.dateValue}"

                          inputSize="14" tabindex="1"/>   

                  </h:form>

                  <a4j:jsFunction action="#{mypopupBean.hide}"

                                  onbegin="#{rich:component(panel1)}.hide(); return false;"

                                  name="hide" id="hideJs"/>

              </rich:popupPanel>

       

      Message was edited by: Murugaboopathy Raja