cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinh...@apache.org>
Subject RE: Simple parameter substitution not working in sub-sitemap?
Date Wed, 04 Feb 2004 13:01:51 GMT

From: news [mailto:news@sea.gmane.org]

> parameter substitution does not work for serializers for some reason.
> 
> Recently the serializers have been changed to be able to 
> receive sitemap 
> parameters - @developers: is there a reason why the serializer is 
> excluded from sitemap parameter substitution?

This had nothing to do with setting parameters but with variables in
@type attributes. AFAIK you can't set the type of a pipeline component
(generators, transformers, serializers) using a variable or an input
module.

--
Reinhard

> 
> Tuomo L wrote:
> 
> > Hi,
> > 
> > Haven't done this for a while, but why doesn't it work?
> > 
> > <map:match pattern="*.*">
> >   <map:generate src="{1}.{2}"/>
> >   <map:serialize type="{2}"/>
> > </map:match>
> > 
> > When trying: test.html , I get:
> > 
> > Type '{2}' is not defined for 'serialize' at...
> > 
> > I'm working in a sub-sitemap.
> > 
> > -Tuomo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


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


Mime
View raw message