1 Reply Latest reply on Oct 4, 2012 5:13 PM by lfd

    Cross web app JSF Templates

      Is there a way to reference a Facelets template from another web app? In other words, I want to use the same template for web app "A" in web app "B" - I could just copy the templates to web app "B", but is there a better approach?

      The templates in web app "A" are located in a templates directory under WEB-INF.
        • 1. Re: Cross web app JSF Templates
          <ui:composition template="/WEB-INF/templates/index_template.xhtml"></ui:composition>
          Is it appropriate to change the location of the templates to a location outside the web container?

          < anwered my own question... doesn't look like i can do that.>

          Edited by: lfd on Oct 4, 2012 10:12 AM