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:[EMAIL PROTECTED]) 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:[EMAIL PROTECTED]"&gt;Berin Loritsch&lt;/a&gt;
        * @author &lt;a href="mailto:[EMAIL PROTECTED]"&gt;Nicola Ken 
Barozzi&lt;/a&gt;
        * @author &lt;a href="mailto:[EMAIL PROTECTED]"&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:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to