cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Reijn <j.re...@hippo.nl>
Subject Re: Pass Parameter from flowscript to jxt
Date Tue, 11 Sep 2007 11:53:17 GMT
Hi Rachid,

try ${cocoon.parameters.sError}. That should do the trick.

Regards,

Jeroen Reijn

rachid harradi wrote:
> Hello together,
> 
> i wish to pass a parameter like sError to jxt.
> her is me Match :
>  <map:match pattern="error.txt">
> 	         <map:generate type="jx" src="context:/resources/templates/error.jxt">
> 	         <map:parameter name="sError" value="{flow-attribute:sError}" />
> 	         </map:generate>
> 	         <map:serialize type="html"/>
> 	   </map:match>
> 
>  but i dont know how i ask the value of this parameter:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
> 
> <body>
>   
>    leider konnte das Document  
>    
>   $sError????
>     nicht erstellt werden .
> </body>
> 
> </html>
> 	   
> thanks for answer
> 
> Rachid Harradi

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


Mime
View raw message