2 Replies Latest reply on Nov 13, 2007 6:10 AM by pmuir

    custom xhtml location

    panpur

      hi...
      so by default, xhtml page outside view folder cannot be displayed
      is it correct ?

      i have an app which has different pages for different role
      so i think it would be easier if i organize my view files so the view folder contains admin, user, etc folders which each of those folder contain xhtml page..

      is it possible ?
      thank's

        • 1. Re: custom xhtml location
          damianharvey

          You can always include pages from outside 'view' with <ui:include> eg:

          <ui:include src="/WEB-INF/include/page1.xhtml"/>

          Cheers,

          Damian.

          • 2. Re: custom xhtml location
            pmuir

            Think of it more in terms of your deployed archive - you can display anything inside the war. By default the contents of the view folder is copied into the root of the war. so you could use view/admin/foo.xhtml etc.