4 Replies Latest reply on Jul 22, 2011 4:02 PM by vinhqdo

    ui:include in Richfaces 4

    vinhqdo

      I'm using facelets and RF4 and can not get ui:include to work at all.

       

      In the previous version of Richfaces, I had to use a4j:include instead of ui:include but  a4j:include is not in the new version.

       

       

      At this time, i can not post my entire code but this is a snippet of the code.

       

      main.xhmtl

       

      <?xml ?>

      <!DOCTYPE html>

      <html xmlns.../>

      <f:view>

      <h:head>

      <meta content-type="text/html;charset="utf-8"/>

      <h:body>

      <rich:panel>

      <ui:include src="test.xhtml">

      </rich:panel>

      </h:head>

      </h:body>

      </html>

       

       

      test.xhtml

      <?xml ?>

      <!DOCTYPE html>

      <ui:composition xmlns..>

      <a4j:commandButton>

      </ui:composition>

       

       

       

      My configuration is

       

      Richfaces 4.0 Final

      JSF 2.0.4

      Tomcat 7.0.2

       

      Thanks