4 Replies Latest reply on Apr 19, 2010 9:38 AM by gustavo.joinrh

    Modal Panel problem on SOME station

      Hi there,

       

      I'm with some strange situation with Richface's Modal Panel on SOME stations.

      When I open the Modal Panel on those stations the CPU usage goes to 100%.

       

      This is happening on just some stations, and I haven't identified the cause...

      My page was reduced to just a button and a modal panel and the error stills occurring.

       

      I have a "h:commandButton" that has an onclick="Richfaces.showModalPanel('modal_id')".

      When the user clicks the button the browser freezes completely.

       

      I've tried others approaches to show the modal panel, like #{rich:component('mp')}.show and <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>, but no success.

       

      Any suggestions?

       

      Environment (Server):

      RichFaces 3.3.3 Final

      Glassfish v3

      Facelets

       

      Environment (Client):

      IE 8

      Windows Vista

       

      []'s

      Gustavo Ehrhardt

        • 1. Re: Modal Panel problem on SOME station
          ilya_shaikovsky

          Are all the testing stations has IE 8? Could you reproduce the same on these stations by trying live richfaces-demo?

           

          B.t.w. nto related but

          I have a "h:commandButton" that has an onclick="Richfaces.showModalPanel('modal_id')".

          there should probably be return false; after show..(..) statement. In other case I guess panel will be hidden just after shown as h:command will rise submit and full page refresh.

          • 2. Re: Modal Panel problem on SOME station

            Hello!

             

            The stations uses IE8 with the IE7 compatibility mode.

            I've tried to use the live demo, and the error doesn't happen.

             

            This is very strange, because we added the doctype declaration on my pages and then... it works .

            Problem solved, but do you know how can I trace this issue?

             

            []'s

            Gustavo Ehrhardt

            • 3. Re: Modal Panel problem on SOME station
              ilya_shaikovsky

              It's really not recommended to use quirks more (without doctype declarations).. We checked and corrected some component issues in 3.3.x relaeted to this in the past.. But there could still be different browser-dependednt ones which we could not just influence. And FYI quirks mode support will be completelly dropped in RF 4.

              1 of 1 people found this helpful
              • 4. Re: Modal Panel problem on SOME station

                OK!

                Thank you for the informations.

                 

                []'s

                Gustavo Ehrhardt