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




      Code Snippet :

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

                               domElementAttachment="form" width="200"

                               left="200" top="200"





                  <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;"/>




                  <f:facet name="header">

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


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

                       <rich:calendar id="insertedAtFilter1"


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


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

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

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



      Message was edited by: Murugaboopathy Raja