cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: variable serialization
Date Sun, 12 Oct 2003 22:06:43 GMT
yunzapito@yunzapito.com wrote:
>  
>   Can I use a paremeter for setting the type of serialization that I want
> at the 
> end of a pipeline ? 
>  
>   I would want something like .... 
>  
>         <map:serialize type="{session-attr:transformationType}"/> 

No.  To accomplish the same thing you can use a selector or matcher.

Geoff

>   transformationType is a session attribute that I set previosly, the
> pipeline 
> where I want the variable serialization is under a <map:match> that has an 
> <map:act type="session">. I obtain the next error message : 
>  
>  
> org.apache.avalon.framework.configuration.ConfigurationException: Type 
> '{session-attr:tipoTransformacion}' is not defined for 'serialize' at 
> file:/opt/jakarta-tomcat-4.1.27/webapps/cocoon/prueba/sitemap.xmap:179:-1 
>  
>   Could I use an abstract  serializer and set up the parameters through 
> session variables ? How I do that ? I've been looking for it to the doc but 
> don't see any hint. 
>  
>   Thanks a lot. 
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> 
> ---------------------------------------------------------------------
> 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