10 Replies Latest reply on Sep 28, 2010 1:48 PM by River Zhu

    Richface and Facelets Template work together

    River Zhu Newbie

      Hi,

       

       

      I'm trying out facelets templates in Netbewn 6.9.1. Code works fine as:

      template.xhtml:

      ...

      <div id="top">
      <ui:insert name="top">
      <ui:include src="header.xhtml" />
      </ui:insert>
      </div>

       

      greeting.xhtml

      ...

      <ui:composition template="./template.xhtml">
      <ui:define name="title">
      Greeting
      </ui:define>
      </ui:composition>

       

      However, as soon as I added Richfaces libraries into the project, and modified web.xml as developer guide, the facelets template stopped working. I haven't include richfaces tag in xhtml files yet.

       

      Is it possible to have facelets template work with Richfaces?

       

       

      Thanks,

      River