1 Reply Latest reply: Oct 4, 2012 12:13 PM by lfd RSS

    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