3 Replies Latest reply on Mar 13, 2008 5:20 PM by scott duke

    Layout Created Using Seam-gen

    scott duke Novice

      I used 'seam new-project' to create my project. There are 4 different user roles I am using within my project. Each role will have a separate folder under the view (web) folder for security. Then restrict the users within the pages.xml. Everything is fine up to this point.


      The problem is with the xhtml files under the layout folder. These don't work under sub-folders. I can make some basic changes to use:

      #{facesContext.externalContext.requestContextPath}

      but I am unable to use it on the
      s:decorate

      . Beyond having to have all of my xhtml files directly under the view folder or having a separate layout under each one of the sub-folders, is there a way to make changes to the current layout structure that will work with sub-folders?


      Thanks,
      Scott