bloritsch 01/02/26 15:01:40
Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
Tag: xml-cocoon2 sitemap.xsl
Log:
Fix error where parameters were not being passed to Actions in ActionSets.
Revision Changes Path
No revision
No revision
1.1.2.83 +4 -4
xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl
Index: sitemap.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl,v
retrieving revision 1.1.2.82
retrieving revision 1.1.2.83
diff -u -r1.1.2.82 -r1.1.2.83
--- sitemap.xsl 2001/02/26 16:36:16 1.1.2.82
+++ sitemap.xsl 2001/02/26 23:01:40 1.1.2.83
@@ -94,7 +94,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo
Pati</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Berin
Loritsch</a>
- * @version CVS $Id: sitemap.xsl,v 1.1.2.82 2001/02/26 16:36:16 giacomo
Exp $
+ * @version CVS $Id: sitemap.xsl,v 1.1.2.83 2001/02/26 23:01:40
bloritsch 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"/>";
@@ -606,7 +606,7 @@
</xsl:call-template>
</xsl:variable>
- <!-- gets the string how the action is to be invoced in java code -->
+ <!-- gets the string how the action is to be invoked in java code -->
<xsl:variable name="action-name">
((Action)this.actions.select("<xsl:value-of
select="$action-type"/>")).act
</xsl:variable>
@@ -680,10 +680,10 @@
<xsl:variable name="component-param">
<xsl:choose>
<xsl:when test="count(parameter)>0">
- nparam
+ param
</xsl:when>
<xsl:otherwise>
- param
+ nparam
</xsl:otherwise>
</xsl:choose>
</xsl:variable>