Hi Michael, your "addcollection" action is bound to a request parameter called "AddCollection" via the action attribute. So if you use this action-set, the action is only invoked if the parameter is specified. If the request parameter is missing, the action is not invoked and the included statements are ignored. The same would apply if your action is invoked (if you specify the parameter) but returns no Map object. If you now add a second action without an action attribute, this action is always invoked, returns a Map object and the statements inside are called.
Carsten > -----Original Message----- > From: Michael Homeijer [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 26, 2001 3:15 PM > To: [EMAIL PROTECTED] > Subject: Problem with action set which contains one action (Bug in > cocoon-2.0rc1a?) > > > Hi, > > I have an action set that contains one action: > > <map:action-set name="xmldb"> > <map:act type="addcollection" action="AddCollection"/> > </map:action-set> > > if I use this action in the sitemap, in the following way, I get a > "org.apache.cocoon.ResourceNotFoundException: No pipeline matched > request". > > <map:match pattern="xmldb/*.xsp"> > <map:act set="xmldb"> > <map:generate type="serverpages" > src="docs/xmldb/{../1}.xsp"/> > <map:transform src="docs/xmldb/{../1}.xsl"/> > <map:serialize/> > </map:act> > </map:match> > > If I change the action set and add an action to it of the form <map:action > type=... />, I don't get the exception. > What am I doing wrong? > > TIA, > Michael Homeijer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]