PrimeFaces components are not rendered in browser in spite of dependency being present

前端 未结 4 2084
北海茫月
北海茫月 2021-01-14 16:45

I\'m developing a JSF web application with PrimeFaces 3.5 on Eclipse 4.3. There are no compiletime or runtime errors and the application deploys successfully. However, I can

4条回答
  •  隐瞒了意图╮
    2021-01-14 17:18

    This is not directly answer on this question, but it's related to it. I want to share my experience with the problem "PrimeFaces tags not rendering". I am developing JSF 2.2 app on WildFly, and here is my index.xhtml:

    
    
    
        
            
        
    
    
    

    When an app is running, the editor doesn't appear, and this was very strange to me, because PrimeFaces was configured correctly in project.

    I accidentally discovered cause of problem. There was not a h:head tag in index.xhtml. When I put head tag, PrimeFaces components rendered successfully!!

    I hope this could help someone.

提交回复
热议问题