10 Replies Latest reply on May 12, 2010 2:19 AM by devika.nrgh

    page hangs up in chrome browser

      hi,

      I have been using a4j:region tag in my project. the page hangs up in chrome browser and the page is not getting refreshed even when i click the refresh button. After sometime i get some error message on the chrome page that says " the full page have become unresponsive. You can wait or kill the session". what could be the problem?? This happens only in chrome browser.works fine in other browsers.

      Note: Am using richfaces 3.3.1.

      Thanks for any help.
      Roxana

        • 1. Re: page hangs up in chrome browser
          nbelaevski

          Hi Roxana,

          Javascript infinite cycle can cause the problem either as environment problems (e.g. Flash player hangs etc). Please post page code you have problems with.

          • 2. Re: page hangs up in chrome browser

            Hi,

            Thanx for the reply.

            Here is a part of my project code:

            <a4j:form timeout="#{esdl['timeout']}">
            <a4j:jsFunction name="xxx" action="#{aaaa.xyz}" ajaxSingle="true" reRender="abclist" oncomplete="#{rich:component('delete')}.hide()" timeout="#{email['timeout']}"/>
            </a4j:form>
            <a4j:outputPanel id="fpg" ajaxRendered="true">
            <a4j:queue requestDelay="#{email['abcdelay']}" ignoreDupResponses="true" disabled="false" size="#{email['defSize']}"/>
            <h:panelGroup>
            <h:form id="viewform">
            <a4j:region>
            <a4j:include id="oviewregion" viewId="/tri/trview.xhtml"/>
            </a4j:region>
            </h:form>
            </h:panelGroup>
            </a4j:outputPanel>


            I also found that this happens only for certain versions of chrome browser.

            • 3. Re: page hangs up in chrome browser
              nbelaevski

              What Chrome version does this reproduce at? Can you please also post triview.xhtml content?

              • 4. Re: page hangs up in chrome browser

                Hi,

                Thanx again.

                Chrome version 2.0.172.33.

                trigview.xhtml content:



                <rich:dataTable id="trigView" headerClass="head" rowClasses="Row1, Row2" value="#{viewTrigs}" var="viewTrig">
                <f:facet name="header">
                <rich:columnGroup>
                <h:column>
                <h:outputText styleClass="head1" value="Name" />
                </h:column>
                <h:column>
                <h:outputText styleClass="head1" value="Date" />
                </h:column>
                <h:column>
                <h:outputText value="#{viewTrig.name}" />
                </h:column>
                <h:column>
                <h:outputText value="#{viewTrig.Date}">
                <f:convertDateTime type="both" dateStyle="medium" timeZone="#{abc.timeZone}"/>
                </h:outputText>
                </h:column>
                </rich:dataTable>


                Its working fine in chrome version 0.2.149.27

                • 5. Re: page hangs up in chrome browser
                  nbelaevski

                  Thanks for reporting, we'll check this on our local environment and let you know!

                  • 6. Re: page hangs up in chrome browser
                    adubovsky

                    Hello,

                    I can not reproduce your problem on our local environment.
                    Could you please prepare the simplest example project and share it?

                    • 7. Re: page hangs up in chrome browser

                      Hi,

                      I find this issue to be a browser related one. Its working fine in other browsers like IE,FF,Opera and Safari. I would like to know if chrome has any issues with richfaces tags. If so any issues what can be done to fix it. I even tested it today and I find the page hanging.

                      Thanx.

                      • 8. Re: page hangs up in chrome browser
                        nbelaevski

                        The first step towards fixing this is that we are reproducing the issue locally. That's why Alexander has asked for the simplest example project. Can you please share one with us?

                        • 9. Re: page hangs up in chrome browser
                          devika.nrgh

                          hi,

                          i have same issue, my project works completly fine with IE and Mozilla, but in Chrome the page hangs up. here is my project any ideas pls.

                           

                          USECASE:

                           

                          i have used a menubar to load the list of applications, it contains list of xhtml pages, on select the xhtml page i want that page to be included in the bottom panel.

                           

                          this is menubar,

                           

                          <h:form id="sideBarId">
                            <rich:toolBar width="995" rendered="#{identity.loggedIn}">
                          <rich:toolBarGroup location="right">
                              <rich:dropDownMenu style="align:right">
                              <f:facet name="label">
                                     <h:outputText value="Applications List" />
                                 </f:facet>
                                  <c:forEach var="item" items="#{applicationbean.items}">
                                     <rich:menuItem submitMode="ajax">
                                     <a:commandLink  value="#{item}"  action="#{applicationbean.sideBarAction}" reRender="contentRichPanel,selectedpage">
                                       <f:param id="#{item}" name="pageViewId" value="#{item}"/>
                                       </a:commandLink>
                                       </rich:menuItem>
                              </c:forEach>
                                 </rich:dropDownMenu>
                              </rich:toolBarGroup>
                          <rich:toolBarGroup location="left">
                          <h:outputLabel value="Selected Application :#{applicationbean.selectedApplication}" id="selectedpage" />
                          </rich:toolBarGroup>

                          </rich:toolBar>
                          </h:form>

                          ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                           

                          <ui:define name="content">
                              <a:region id="cont" immediate="true" selfRendered="true">
                                   <a:outputPanel id="contentRichPanel">
                                      <a:include viewId="#{applicationbean.includedPage}"/>
                                  </a:outputPanel>
                                  </a:region>
                          </ui:define>

                           

                          here applicationbean will load the includedpage.

                          --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                          • 10. Re: page hangs up in chrome browser
                            devika.nrgh

                            i am using  the following configuiration:

                             

                            Richfaces 3.3.1.GA

                            Seam 2.2

                            JSF1.2

                            JDK1.5

                            Jboss4.2 server

                             

                            any ideas or sollutions pls