3 Replies Latest reply on Jun 18, 2010 8:29 PM by dgolovin

    Bug in seam projects

    hfluz

      I started to use jboss tools last week, but I'm often facing a really annoying problem.

       

       

       

      First of all, after I create a seam ear project in jboss tools. Everything works fine., but randomly after I deploy the project, the pages doesn't load the richfaces theme as you can see in the image below:http://lh5.ggpht.com/_ook2flD5xC0/TBgvkoKuI_I/AAAAAAAAAGE/oOyck0_TOeM/s800/Captura_de_tela.png

       

       

       

      Using firefox's firebug I could find some errors, the first one is that richfaces is not defined in my rich:toolbar, but the toolbar is the same as the generated by the "seam generate entities" without modifications.

       

      Another error is related to the theme.xcss (also generated by jboss tools), the error says that the file is terminating suddenly at the line 84, but there are only 83 lines in theme.xcss and the jboss tools validation doesn't point any error inside the editor.

       

       

      The only files I modified are the xhtml pages generated by the database reverse engineering.

       

      Does anybody knows what is causing this error?

        • 1. Re: Bug in seam projects
          hfluz

          More informations:

          JBoss Application Server 5.1.0

          Richfaces 3.3.3 (I also tried with richfaces 3.3.1).

          JBoss Seam 2.2.0

          JBoss Tools 3.1.1

          Eclipse 3.5.2

          OS: Debian Squeeze AMD 64

          • 2. Re: Bug in seam projects
            hfluz

            I can solve this problem by creating another project and importing the files of the last one, but sooner or later this error happens again. I already asked for help in Seam forum, but nobody tried to help me. I'm almost giving up of using jboss tools for now.

             

            Sometimes the pages get back to normal, but the same way the error comes back.

            • 3. Re: Bug in seam projects
              dgolovin

              Could you check if all files were deployed correctly to the server after you made changes in your project?

              Also I would suggest "Full Publish" through server View + Clean Cache in Browser + Refresh, just in case you haven't tried it yet.

               

              .xcss files have xml format so for validation you can use regular xml editor.