You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Peter Royal <pr...@managingpartners.com> on 2001/05/23 16:37:26 UTC
(patch) Action parameters inside a resource
Parameters to an action inside a resource were not being added when the
sitemap was generated. Such as:
<map:resources>
<map:resource name="detail">
<map:act type="form-validator" src="BankAccount">
<map:parameter name="validate" value="id"/>
<map:parameter name="silent" value="true"/>
Below is a patch to the sitemap.xsl to fix that. Thanks!
-pete
===================================================================
RCS file:
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
retrieving revision 1.8
diff -r1.8 sitemap.xsl
1089c1089
< <xsl:template match="map:pipeline//map:parameter |
map:action-set//map:parameter">
---
> <xsl:template match="map:pipeline//map:parameter |
map:action-set//map:parameter | map:resource//map:parameter">
--
peter royal -> proyal@managingpartners.com
managing partners, inc. -> http://www.managingpartners.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org