forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: resolving mechanism for *.fv files (Was: Views)
Date Wed, 07 Dec 2005 13:59:13 GMT
El mar, 06-12-2005 a las 12:04 +0930, Paul Bolger escribió:
> I don't mind having a go, but I'm not sure where that doc is. I gave
> it a try and yes, common.fv seems to work. I haven't checked the
> others yet, and won't write it up until I've tested it. 

Here is the important part from 
whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/locationmap.xml:

<!-- File specific strucuturer templates have priority before default
ones. If no strucuturer template 
      can be found in the project, we use either the theme or the
default one of the themes plugin. -->
    <match pattern="resolve.structurer.**">
      <select type="exists">
        <!-- project-based file-based -->
        <location src="{project:content.xdocs}{1}{project:theme-ext}" />
        <!-- @src="" workaround for action bug in the locationmap! -->
        <act type="RecursiveDirectoryTraversalAction" src="">
          <parameter value="{1}" name="request"/>
          <parameter value="{project:theme}" name="projectFallback"/>
          <parameter value="{project:theme-ext}"
name="projectExtension"/>
          <parameter value="{project:content.xdocs}" name="projectDir"/>
          <!--  project-based theme-based = directory-based /
parent-directory based (recursively) -->
          <location src="{uri}" />
        </act>
        <!-- themes-dir: project-application-based theme-dir-based -->
        <location 

src="{lm:themer.project.dir}/{project:theme}{project:theme-ext}" 
          />
        <!-- themer: project-application-based theme-based -->
        <location 

src="{project:themer}/resources/themes/{project:theme}{project:theme-ext}" 
          />
        <!-- themes-dir: project-application-based default -->
        <location 

src="{lm:themer.project.dir}/{defaults:theme}{defaults:theme-ext}" 
          />
        <!-- themer: project-application-based default -->
        <location 

src="{project:themer}/resources/themes/{defaults:theme}{defaults:theme-ext}" 
          />
        <!-- themer: forrest-application-based theme-based -->
        <location 

src="{defaults:themer}/resources/themes/{project:theme}{project:theme-ext}" 
          />
        <!-- themer: forrest-application-based default -->
        <location 

src="{defaults:themer}/resources/themes/{defaults:theme}{defaults:theme-ext}" 
          />
      </select>
    </match>


salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message