cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Pass a request paramter to a custom generator
Date Tue, 05 Apr 2005 11:45:54 GMT
Syntax is
{request-param:xfacename}

http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html#RequestParameterModule

HTH
Jorg
Mattom wrote:
> hi all !
> 
> Sorry if i missed some documentation, but I after spending an hour on trial
> and error...
> 
> How do i pass a request parameter to a custom generator in a pipeline ?
> 
> I tried (see schnirkel and schnirkel2), for a link that is:
> viewGeneric.dhtml?xfacename=testit
> 
>         <map:match pattern="dynamic_content/viewGeneric.dhtml">
>           <map:generate type="XFace">
>             <map:parameter name="XFaceName" value="Versicherungsdaten" />
>             <map:parameter name="use-request-parameters" value="true"/>
>             <map:parameter name="schnirkel" value="{xfacename}" />
>             <map:parameter name="schnirkel2" value="{request:xfacename}" />
>           </map:generate>
> 
> thank you,
> tom
> 


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


Mime
View raw message