forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject locationmap mounting behavior
Date Sun, 14 Aug 2005 18:20:32 GMT
Is it enough to have locationmaps mounted as a sibling to components
and locator? or, should we support mounting inside match statements as
well?  I think this first way supports our Forrest internal needs of
project-level locations preferenced to app-level locations, I just
don't know that I see us needing selective match-based mounting right
now?  Anyone?
Thanks,
--tim

<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
  <components>
    ..matchers and selector stuff...
  </components>

  <mount src="{project:content}locationmap2.xml"/>
  
  <locator>
    <match pattern="rewriteDemo/**">
       <location src="http://www.burrokeet.org/{1}.xml" />
    </match> 
  </locator>
</locationmap>

Mime
View raw message