cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@informatik.tu-darmstadt.de>
Subject Re: <map:act> Syntax
Date Tue, 23 Dec 2003 07:36:15 GMT
Damon van Opdorp wrote:

> Hi All,
> 
> I'm trying to use a parameter to specify which action set to use in a
> pipeline as below:
> 
> ...
> <map:match pattern="*/*/*.xhtml">
> ...				
> 	<!-- perform page specific actions -->
> 	<map:act set="{3}-actions" />
> ...
> 
> The parameter doesn't seem to be getting substituted, as I get the
> error:
> 
> Unknown action-sets named '{3}-actions' at file:...
> 
> Does the act component support substitution?  Any workarounds or
> suggestions on where to fix?

No, it does not. Workarounds are to use a selector with hasrd coded
actions, an action-set or a MultiAction that can fire different methods
based on a parameter.

	Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message