You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2006/01/29 14:02:33 UTC
[jira] Resolved: (FOR-783) Remove indirection in
sitemaps/locationmaps
[ http://issues.apache.org/jira/browse/FOR-783?page=all ]
Thorsten Scherler resolved FOR-783:
-----------------------------------
Resolution: Fixed
I removed all indirections
> Remove indirection in sitemaps/locationmaps
> -------------------------------------------
>
> Key: FOR-783
> URL: http://issues.apache.org/jira/browse/FOR-783
> Project: Forrest
> Type: Improvement
> Components: Dispatcher (aka views)
> Versions: 0.8-dev
> Reporter: Ross Gardler
> Priority: Critical
>
> In some places there is too much indirection between the locationmap and the sitemap. This makes it very difficult to follow the processing flow of the dispatcher. For example:
> in structuer plugin themer.xmap
> <map:match pattern="ls.contracts.xml">
> <map:generate src="{lm:ls.contracts}" />
> <map:transform src="{lm:ls.contracts-to-document.xsl}" />
> <map:serialize />
> </map:match>
> ...
> in the themes plugin locationmap (not even the same plugin as above!)
> <match pattern="ls.contracts">
> <select type="exists">
> <location src="cocoon://ls.contracts.source.xml" />
> </select>
> </match>
> ...
> in structuer plugin themer.xmap
> <map:match pattern="ls.contracts.source.xml">
> <map:generate src="{lm:themer.contracts.dir}"
> type="xpathdirectory">
> <map:parameter name="xpath" value="/*" />
> <map:parameter name="xmlFiles" value="\.ft$" />
> <map:parameter name="exclude" value="[\w]*.svn" />
> <map:parameter name="depth" value="3" />
> </map:generate>
> <map:transform src="{lm:ls.contracts.xsl}" />
> <map:serialize />
> </map:match>
> ...
> in the themes plugin locationmap (not even the same plugin as above!)
> <match pattern="themer.contracts.dir">
> <select type="exists">
> <location src="{project:themer}/resources/themes" />
> <location src="{defaults:themer}/resources/themes" />
> </select>
> </match>
> There was some discussion about this in http://marc.theaimsgroup.com/?l=forrest-dev&m=113383339506655&w=2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira