cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Bertram" <bert...@n-bis.de>
Subject second: [C2.1][PATCH] Adon for sitemap.xsl
Date Fri, 02 Nov 2001 15:26:45 GMT



-----Original Message-----
From: Klaus Bertram [mailto:bertram@n-bis.de]
Sent: Thursday, October 25, 2001 1:14 PM
To: Cocoon dev
Subject: [C2.1][PATCH] Adon for sitemap.xsl


Hi all,
here is a patch (adon) for the sitemap.xsl
now it is possible to work with the aggregate like these

<map:act ..> who set the top parameter
<map:aggregate element="test">
  <map:select type="parameter">
    <map:parameter name="parameter-selector-test" value="{top}"/>
    <map:when test="true">
      <map:part src="anySide"/>
    </map:when>
  </map:select>
  <map:part src="otherSide"/>
  ...
</map:aggregate>

I implement the ca param forwarding only for the select part
It is not a better solution to hold the ca value in the
SitemapMarkupLanguage class or a helper class so that also actions and
matchers can be used inside the aggregate?

The intention to do this is the reduce of generation time when 1 or more
part components not neded for the result. Like a content aggregation with
top and body.


Klaus

Mime
View raw message