You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by di...@apache.org on 2002/02/02 03:49:46 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl

dims        02/02/01 18:49:46

  Modified:    src/java/org/apache/cocoon/components/language/markup/sitemap/java
                        sitemap.xsl
  Log:
  Bug 6191- Patch from Peter Royal (mailto:proyal@managingpartners.com) for "Cannot pass <map:parameter>'s to components inside of a <map:view>"
  
  Revision  Changes    Path
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- sitemap.xsl	17 Jan 2002 03:51:38 -0000	1.5
  +++ sitemap.xsl	2 Feb 2002 02:49:45 -0000	1.6
  @@ -214,7 +214,7 @@
        * @author &lt;a href="mailto:bloritsch@apache.org"&gt;Berin Loritsch&lt;/a&gt;
        * @author &lt;a href="mailto:barozzi@nicolaken.com"&gt;Nicola Ken Barozzi&lt;/a&gt;
        * @author &lt;a href="mailto:proyal@managingpartners.com"&gt;Peter Royal&lt;/a&gt;
  -     * @version CVS $Id: sitemap.xsl,v 1.5 2002/01/17 03:51:38 vgritsenko Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.6 2002/02/02 02:49:45 dims Exp $
        */
       public class <xsl:value-of select="@file-name"/> extends AbstractSitemap {
         static final String LOCATION = "<xsl:value-of select="translate(@file-path, '/', '.')"/>.<xsl:value-of select="@file-name"/>";
  @@ -1466,7 +1466,7 @@
   
   
     <!-- collect parameter definitions -->
  -  <xsl:template match="map:pipeline//map:parameter | map:action-set//map:parameter | map:resource//map:parameter">
  +  <xsl:template match="map:pipeline//map:parameter | map:action-set//map:parameter | map:resource//map:parameter | map:view//map:parameter">
       <xsl:param name="param"/>
       <xsl:if test="not($param='')">
         <xsl:value-of select="$param"/><xsl:text>.setParameter (</xsl:text>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org