1 2 Previous Next 16 Replies Latest reply on Apr 6, 2011 5:03 AM by ilya_shaikovsky

    Richfaces 4 Display Problem

    eldjon

      i just started working of Richfaces but im having a problem with it as i cannot display any richfaces element. i integrate it with maven and i added those dependencies :

              <dependency>

                  <groupId>org.richfaces.ui</groupId>

                  <artifactId>richfaces-components-api</artifactId>

                  <version>4.0.0.20110209-M6</version>

              </dependency>

              <dependency>

                  <groupId>org.richfaces.ui</groupId>

                  <artifactId>richfaces-components-ui</artifactId>

                  <version>4.0.0.20110209-M6</version>

              </dependency>

       

      i configured the web.xml files accordingly :

          <context-param>

              <param-name>org.richfaces.enableControlSkinning</param-name>

              <param-value>true</param-value>

          </context-param>

          <context-param>

              <param-name>org.richfaces.enableControlSkinningClasses</param-name>

              <param-value>false</param-value>

          </context-param>

          <context-param>

              <param-name>org.richfaces.skin</param-name>

              <param-value>#{skinBean.skin}</param-value>

          </context-param>

       

      But the result is blank page (for richfaces components). I cant see any richface component at all. and no warnings , no errors either

        • 1. Richfaces 4 Display Problem
          geschtli

          Hi

           

          I have the same effect, no rendered components into html.

          But i can see the commands in the browser, who cannot

          make something with <a4j ... commands :-(

          • 2. Richfaces 4 Display Problem
            eldjon

            i have no clue what is that abt and im wasting a lot of time trying to figure it out. i think ill switch to some other libraries.

            • 3. Richfaces 4 Display Problem
              rjevans2000

              You are missing the following dependency in your pom.xml

               

              <dependency>

                          <groupId>org.richfaces.core</groupId>

                          <artifactId>richfaces-core-impl</artifactId>

                          <version>4.0.0.20110209-M6</version>

                      </dependency>

              • 4. Richfaces 4 Display Problem
                eldjon

                ive tried that too actually but it doesnt make any difference. the result is the same. i dont know if its only me but i find jboss itself very unstable server. it looks like sometimes it works sometimes it doesnt.

                • 5. Re: Richfaces 4 Display Problem
                  geschtli

                  No, i have expirience in Bea, Websphere and Jboss.

                  Jboss is a very stable server, good to maintain,

                  easy to handle, and a big worldwide community.

                   

                  Also i have running my own Jboss two years now

                  without trouble.With Bea and Websphere there

                  a every week big troubles und high end cost.

                  • 6. Re: Richfaces 4 Display Problem
                    ilya_shaikovsky

                    correct dependencies according to http://community.jboss.org/wiki/HowtoaddRichFaces4xtomavenbasedproject

                     

                    with your current settings you missing core-impl jar

                    • 7. Richfaces 4 Display Problem
                      eldjon

                      thanks for ur reply. to tell the truth i went through that article as well. now i made it work with richfaces 3.3.3 but outside maven. i realised that when i added richfaces libraries they werent added on /WEB-INF/lib folder. so after adding them manually to this folder everything is working correctly. (im using eclipse helios)

                      • 8. Re: Richfaces 4 Display Problem
                        geschtli

                        Hi Eldjon

                         

                        You are right.The problem is what you say. The external libraries are not included

                        in the deployment projekt. Putting it in the WEB-INF/lib folder does it.

                        • 9. Richfaces 4 Display Problem
                          eldjon

                          but im not still convinced of the JBoss stability. first of all it takes quite long to deploy a project. secondly im facing situations where a project runs correctly but after i close and reopen eclipse jboss returns me errors for the same project. i used glassfish before but i have to use jboss now but to tell u the truth i wouldnt use it if i had a choice

                          • 10. Richfaces 4 Display Problem
                            nbelaevski

                            Hi Eldjon,

                             

                            This can be simply a deployment issue, because sometimes Eclipse fails to do deploy/redeploy correctly. Does the problem reproduce if you deploy WAR/EAR file manually?

                            • 11. Richfaces 4 Display Problem
                              eldjon

                              actually i havent tried that. i kind of trusted eclipse on deployment. ill give a try myself and let u know

                              • 12. Re: Richfaces 4 Display Problem
                                kshanth

                                I am also getting the blank page with Spring + Hibernate + RF 4.0

                                • 13. Re: Richfaces 4 Display Problem
                                  ilya_shaikovsky

                                  You mean not see any components at all or see them not styled for example? If second - check your spring security rules. we already fixed same issue for a couple of posts there and usually resources unavailability was caused by wrong security settings(resources was just restricted).

                                   

                                  If first - please also provide detailed info about your deployment configuration, libraries and app server.

                                  • 14. Richfaces 4 Display Problem
                                    lfryc

                                    Hi geschtli,

                                     

                                    you need to have installed M2Eclipse + M2Eclipse Extras (WTP integration) to let Eclipse deploy libraries properly (check Properties > Deployment Assembly).

                                    1 2 Previous Next