forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: linkmap customization
Date Thu, 01 Dec 2005 16:10:13 GMT
El jue, 01-12-2005 a las 10:22 -0500, Helena Edelson escribió:
> Hi,
> 
> No one replied to my earlier question. Perhaps this is more targeted.
> 
Hmm, your first question is 3 hours ago, please let the people more
time. Consider we all have to work and cannot dedicate ourself for full
time user support.

> If one wishes to add a third linkmap (if one refers to site.xml and
> tabs.xml being first two)),
> would one need to modify the forrest 7 src in:
> apache-forrest-0.7/main/webapp
> to accept a third,
> then customize the xslt's? to handle the custom rules?

forrest sitemap:
 <map:match pattern="*.html">
        <map:aggregate element="site">
          <map:part src="cocoon:/skinconf.xml"/>
          <map:part src="cocoon:/build-info"/>
          <map:part src="cocoon:/tab-{0}"/>
          <map:part src="cocoon:/menu-{0}"/>
          <map:part src="cocoon:/body-{0}"/>
        </map:aggregate>
> ...

Just change to:
<map:match pattern="*.html">
        <map:aggregate element="site">
          <map:part src="cocoon:/skinconf.xml"/>
          <map:part src="cocoon:/build-info"/>
          <map:part src="cocoon:/tab-{0}"/>
          <map:part src="cocoon:/menu-{0}"/>
          <map:part src="cocoon:/yourMenu-{0}"/>
          <map:part src="cocoon:/body-{0}"/>
        </map:aggregate>
> Helena

HTH
-- 
thorsten

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


Mime
View raw message