5 Replies Latest reply on Jul 7, 2010 10:32 AM by amandaesweeney

    Rich Faces Display Issue

    amandaesweeney

      Hi guys,

       

      I have found that over time the way that some of my rich panels are displayed is not the same as they were when I first deployed the application.

       

      For instance, the text appears larger than it should, and as a consequence scroll bars are added to the panel. If I restart the application server and clear my temp internet files, the display goes back to normal.

       

      Has anyone experienced something similar? I would greatly appreciate any feedback, as restarting the server is not a viable long term solution to this issue.

       

      Thanks,

      Amanda

        • 1. Re: Rich Faces Display Issue
          ilya_shaikovsky

          need more information about e symptoms.. what you performing when this occurs? if using hot deployments? What shown for example at firebug Net tab for resources loading when the problem occurs?

           

           

          P.S. this space is not for usage discussions but for discussions of RichFaces developments itself. moving to RichFaces space.

          • 2. Re: Rich Faces Display Issue
            amandaesweeney

            Hi Ilya,

             

            Thanks for the response and sorry for posting in the wrong space.

             

            Here is some more information on the issue

             

            The issue occurs when I click on two different panels within my application, both of which contain fairly simple forms, all other panels appear fine.

             

            I'm using IE6, (there are some display issues in IE8 and Firefox). The issue has appeared locally (after hot deployments) and when launching the app hosted from a different server.

             

            As I'm not using firefox I do not have an answer for your firebug question, and since the last time the issue occured and I cleared my cache and restarted WebSphere I haven't seen the issue again and cannot replicate, so I cannot check. If/when it happens again I will check this out.

             

            Thanks,

            Amanda

            • 3. Re: Rich Faces Display Issue
              amandaesweeney

              Hi Ilya,

               

              This issue has reoccured. When I open the application in Firefox with Firebug I see the following under my CSS tab

               

              Failed to load source for: http://applicationURL/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.xhtml

               

              I have multiple environments with the exact same version of code deployed to each, but the issue is only occuring in some of them.

               

              Have you come accross this issue before/have any idea how to resolve it?

               

              Thanks,

              Amanda

              • 4. Re: Rich Faces Display Issue
                nbelaevski

                Hi Amanda,

                 

                Are there any security checks configured via Seam/Spring/container security? Please also post code for the related pages.

                • 5. Re: Rich Faces Display Issue
                  amandaesweeney

                  Hi guys,

                   

                  I've found that by adding the following to my xhtml file resolves the display issue

                   

                          <a4j:loadStyle src="resource:///org/richfaces/renderkit/html/css/basic.xcss"/>
                          <a4j:loadStyle src="resource:///org/richfaces/renderkit/html/css/basic_classes.xcss"/>

                   

                  I'd still like to understand the root cause though, why over time does the application lose it's ability to load the basic_both.xcss file, any ideas?

                   

                  Note: Through Firebug I still see the "Failed to load source for: http://applicationURL/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.xhtml" error even if I add <a4j:loadStyle  src="resource:///org/richfaces/renderkit/html/css/basic_both.xcss"/>.

                   

                  Thanks,

                  Amanda